Answers for "This syntax requires an imported helper named '__spreadArrays' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'."

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
-1

This syntax requires an imported helper named '__spreadArrays' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.

npm install tslib
Posted by: Guest on April-27-2020

Code answers related to "This syntax requires an imported helper named '__spreadArrays' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'."

Code answers related to "Javascript"

Browse Popular Code Answers by Language