Skip to content

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

3 participants