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
it would be nice if you could include your tsconfig.json in your published package, and projects that depend on it could use its compilerOptions when type checking it
π Motivating Example
it's frustrating when you try to enable strictness flags in your project, only for it to cause type errors in node_modules. if each package included its tsconfig.json it could type-check them with the compilerOptions defined there, instead of your project's tsconfig.json which should only really apply to the source code that you can control
π» Use Cases
enabling strictness flags without having to enable skipLibCheck
The text was updated successfully, but these errors were encountered:
Suggestion
π Search Terms
tsconfig compilerOptions node_modules
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
it would be nice if you could include your
tsconfig.json
in your published package, and projects that depend on it could use itscompilerOptions
when type checking itπ Motivating Example
it's frustrating when you try to enable strictness flags in your project, only for it to cause type errors in
node_modules
. if each package included itstsconfig.json
it could type-check them with thecompilerOptions
defined there, instead of your project'stsconfig.json
which should only really apply to the source code that you can controlπ» Use Cases
enabling strictness flags without having to enable
skipLibCheck
The text was updated successfully, but these errors were encountered: