-
Notifications
You must be signed in to change notification settings - Fork 373
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
Wrong "typings" key in package.json after monorepo refactor. #136
Comments
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight. |
Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information. |
Moved to |
@adamduren How do you work around this issue? I've tried adding them to my tsconfig include, but that doesn't seem to cut it. "include": [
"src/**/*",
"node_modules/@firebase/app/dist/cjs/index.d.ts",
"node_modules/@firebase/util/dist/cjs/index.d.ts"
], It seems that the compiler finds the right type definition file, but is somehow still not happy:
If I set
|
Ah I get it now I think. skipLibCheck only works if you don't explicitly add those *.d.ts files to you own files list, because then they're not considered external lib anymore. Using the skipLibCheck without listing the files at least lets me compile my own code. But of course this is still a problem, because now all checks for all external modules are disabled. |
already solved? It's closed, but still I get this issue and I do not see referenced code-fix. |
Issue appears open for me |
This should be fixed in the 5.5.1 release. We no longer use the typings from @jshcrowthe is working separately on getting the typings of |
Reproduction steps
See repo to reproduce.
Description
The path for typings is missing the
cjs
directory.Should be
Noticed in the following places:
Results in the following error during compilation with
tsc
Environment
The text was updated successfully, but these errors were encountered: