Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 420
shivam singh Avatar asked Oct 28 '25 14:10

shivam singh


1 Answers

Thanks to @Tobias S. for answering.

-p is the shortcut for --project
like image 80
shivam singh Avatar answered Oct 31 '25 05:10

shivam singh