What if I'm using a custom TypeScript configuration? How do I address 'error TS1005'?

Responsive Ad Header

Question

Grade: Education Subject: Support
What if I'm using a custom TypeScript configuration? How do I address 'error TS1005'?
Asked by:
85 Viewed 85 Answers

Answer (85)

Best Answer
(290)
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.