You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error TS5042: Option 'project' cannot be mixed with source files on a command line.
this seems like an unncessary error. I would really like to be able to specify which tsconfig file to use ( I use one for backend and a different one for frontend ).
Is there any workaround for this besides taking all the settings from my tsconfig and putting them on the command line?
The text was updated successfully, but these errors were encountered:
I would like check my staged files with path resolution, which I need to pass source files and paths from cli. However, the paths options only can assign from tsconfig.json instead of passing from cli. Hence, I really need mix source files and project options.
On latest version of TS -
I am calling tsc like so:
I get an error saying:
error TS5042: Option 'project' cannot be mixed with source files on a command line.
this seems like an unncessary error. I would really like to be able to specify which tsconfig file to use ( I use one for backend and a different one for frontend ).
Is there any workaround for this besides taking all the settings from my tsconfig and putting them on the command line?
The text was updated successfully, but these errors were encountered: