Description of Bug
When I add types to the tsconfig.json in my project, the project is broken.
Steps to Reproduce
- Go to https://stackblitz.com
- Click on 'Angular Typescript'
- In dependencies add
@types/jasmine@3
- Wait until it's been installed
- open
tsconfig.json in the editor
- add right before
typeRoots: "types": ["jasmine"],
- save
tsconfig.json
- open developer tools console.
- there is an error "Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 't.substring')"
- "Compiling changes..." never ends.
Expected Behavior
The project should compile