Search code examples
typescriptelectrontypescript-typingselectron-builderreact-typescript

Couldn't find any reference for tsc -p command


I am building an electron + typescript + react app. At one of the blogs I see they have used tsc -p electron I am totally confused what -p is used for! is it something related to plugins?

"electron:dev": "concurrently -k \"cross-env BROWSER=none npm start\" \"wait-on http://127.0.0.1:3000 && tsc -p electron && electron .\" ",

I tried searching for the possible explanation in typescript docs but couldn't find any reference for tsc -p.


Solution

  • Thanks to @Tobias S. for answering.

    -p is the shortcut for --project