-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
noImplicitAny checks node_modules despite skipLibCheck #15363
Comments
Sounds like k8s shouldn't be distributing |
I thought that might be the case. I can request a fix, but is there anything I can do about it in the meantime? |
I opened up Goyoo/node-k8s-client#35 for you. In the meantime, you could run a post-install step to produce the So this could be your root {
"compilerOptions": {
"noImplicitAny": true,
// ...
"baseUrl": "./",
"paths": {
"*": ["src/types/k8s"]
}
}
} And you could make a separate {
"compilerOptions": {
"declaration": true,
"declarationDir": "./src/types/k8s"
},
"include": ["./node_modules/k8s/index.ts"]
} |
The workaround works great, thanks! |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
@DanielRosenwasser @mhegazy I'm not sure we should consider this fixed. I understand that libraries shouldn't publish |
TypeScript Version: 2.2.2
Code
package.json:
tsconfig.json:
index.ts:
Steps to reproduce:
Expected behavior:
Compilation succeeds.
Actual behavior:
Compilation fails with errors about ignored library k8s:
The text was updated successfully, but these errors were encountered: