Skip to content

fix: don't check the .d.ts files from node_modules #251

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

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Sep 30, 2019

Cannot find type definition file for 'jasmine/v2' error is thrown when a new code shared application is created. It seems the issue comes from this commit inside jasmine repo. Adding skipLibCheck: true to tsconfig.json will skip the checks of .d.ts files inside node_modules. This will also improve the performance of typescript compilation with a lot of deps and files to process.

Rel to: #249

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

`Cannot find type definition file for 'jasmine/v2'` error is thrown when a new code shared application is created. It seems the issues comes [from this commit inside jasmine repo](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/38412/files#diff-704f3d6b17350ee2426b25280154df4f).  Adding `skipLibCheck: true` to `tsconfig.json`  will skip the checks of `.d.ts` files inside `node_modules`. This will also improve the performance of typescript compilation with a lot of deps and files to process.

Rel to: #249
@cla-bot cla-bot bot added the cla: yes label Sep 30, 2019
@Fatme Fatme merged commit 1205f82 into master Sep 30, 2019
@Fatme Fatme deleted the fatme/skip-dependencies-check branch September 30, 2019 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants