TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. angular code example
Example: 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"]
}
}
}