Answers for "This syntax requires an imported helper but module 'tslib' cannot be found."

CSS
0

This syntax requires an imported helper but module 'tslib' cannot be found.

{
  // ...rest of config
  "compilerOptions": {
    // ...rest of compiler options
    "baseUrl: ".",
    "paths": {
      "tslib" : ["path/to/node_modules/tslib/tslib.d.ts"]
    }
  }
}
Posted by: Guest on July-16-2020

Code answers related to "This syntax requires an imported helper but module 'tslib' cannot be found."

Browse Popular Code Answers by Language