-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to override compiler options #137
Comments
It seems that TypeScript doesn't provide types for the compiler options which are inside json file ( |
https://github.com/bluelovers/ws-ts-type/blob/master/packages/package-dts/tsconfig-json.d.ts |
@bluelovers are these types auto-generated/related to the compiler's code and just manually-written and have to be updated on every TypeScript release? |
@keyiis it is not a problem to provide a way to override compiler options and just add an option for that. The problem we're facing right now is that it seems that it is impossible to provide proper types for that. If you use So to conclude the future of this ticket: until we don't have a proper way to describe types of the compiler options in the API it is the best way to create a tsconfig in your project (e.g. |
@timocov I see what you mean, but my compilerOptions is dynamic and can't use fixed file description. |
@keyiis as workaround I can suggest to write temporary file in your scripts and provide it as a tsconfig and then remove it later. We're here for types and it would be bad to provide |
From #135 (comment)
The text was updated successfully, but these errors were encountered: