I added the following property to the tsconfig file
"compilerOptions": {
"skipLibCheck": true
},
This tells TypeScript that we want to skip the type checking of libraries in the node_modules folder. This saves compilation time and stops conflicting types in node modules from breaking the build.
For those who want some explanation on why you might need this option here is a resource link https://www.typescriptlang.org/tsconfig#skipLibCheck
Related Contents:
- ‘R’ could be instantiated with an arbitrary type which could be unrelated to ‘Response’
- How to import “describe” and “it” from mocha in TypeScript?
- Why can’t an interface be assigned to Record?
- Could not find a declaration file for module ‘module-name’. ‘/path/to/module-name.js’ implicitly has an ‘any’ type
- What is the syntax for Typescript arrow functions with generics?
- Element implicitly has an ‘any’ type because expression of type ‘string’ can’t be used to index
- How to pass optional parameters while omitting some other optional parameters?
- How to get query params from url in Angular 2?
- ‘any’ vs ‘Object’
- Angular 2 Show and Hide an element
- Understanding “target” and “module” in tsconfig
- Need clarification of the target and lib compiler options
- Angular 2 custom form input
- Does TypeScript allow type aliases?
- nameof keyword in Typescript
- Typescript: string literal union type from enum
- How to initialize an object in TypeScript
- What does “@” symbol mean in “import { Component } from ‘@angular/core’;” statement?
- How to map over union array type?
- TypeScript: Property does not exist on type ‘{}’
- How to define an array of strings in TypeScript interface?
- Typescript: deep keyof of a nested object
- False expression: Non-string value passed to `ts.resolveTypeReferenceDirective` in typescript
- Does TypeScript allow an enum to be assigned to an interface’s object key?
- Enumerate properties on an object
- Webpack resolve.alias does not work with typescript?
- Error: Uncaught (in promise): Error: Cannot match any routes Angular 2
- Structuring a TypeScript project with workers
- How to get enum key by value in Typescript?
- How can I declare a global variable in Angular 2 and up / Typescript? [closed]
- How to import all modules from a directory in TypeScript?
- How to build a type from enum values in TypeScript?
- Typescript and spread operator?
- How to use namespaces with import in TypeScript
- What is the difference between interface and abstract class in Typescript?
- Error while running nestjs in production mode, cannot find module
- Explain “export =” and “export as namespace” syntax in TypeScript
- ‘ts-loader’ vs. ‘awesome-typescript-loader’ [closed]
- What are Typings in Typescript
- Dynamically resolve property type based on another property value in TypeScript
- Typescript runtime error: cannot read property of undefined (enum)
- How to Use `import.meta` When Testing With Jest
- Ambient declaration with an imported type in TypeScript
- Logging request/response in Nest.js
- Using an enum as a dictionary key
- What’s the difference between definite assignment assertion and ambient declaration?
- What is ‘declare global’ in Typescript?
- Is there a way to enforce method return types on Typescript classes via a tslint rule?
- How do I split my module across multiple files in Typescript with node.js
- Constraining type in Typescript generic to be one of several types