Question
What if I'm using a custom TypeScript configuration? How do I address 'error TS1005'?
Asked by: USER4247
85 Viewed
85 Answers
Answer (85)
If you're using a custom `tsconfig.json`, make sure it extends the base Angular configuration. You can do this using the `extends` property: `"extends": "./node_modules/@angular/cli/lib/config/typescript.js"`. This ensures your configuration inherits the necessary Angular compiler options.