Closed
Description
On latest version of TS -
I am calling tsc like so:
shell.stdin.write('tsc --jsx react --project tsconfig-fe.json ' + path + '\n');
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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment