Angular does not compile cleanly with TypeScript 2.4
See original GitHub issueI’m submitting a…
[x] Bug report
Current behavior
With stricter checking and improved type inference, TypeScript 2.4 now reports errors in Angular that are not reported in 2.3.
This also produces .d.ts files that are reported as errors by 2.4 as reported here:
Expected behavior
Angular compiles cleanly with 2.4.
Minimal reproduction of the problem with instructions
Upgrade TypeScript to 2.4 and run build.sh
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Angular Compiler Error (seems to be the wrong instance)
ERROR in ./src/main.ts Module build failed: Error: Angular Compiler was detected but it was an instance of the wrong class. This likely means ......
Read more >How the Angular Compiler Works
The main goal of ngc is to compile TypeScript code while transforming recognized Angular decorated classes into more efficient representations ...
Read more >Documentation - TypeScript 2.0
TypeScript has two special types, Null and Undefined, that have the values null and undefined respectively. Previously it was not possible to explicitly ......
Read more >Announcing TypeScript 3.0 - Microsoft Developer Blogs
The TypeScript compiler reads in TypeScript code, which has things like type declarations and type annotations, and emits clean readable ...
Read more >webvision-test - npm
The master branch of this fork is up to date with Angular 5, TypeScript 2.4 and RxJS 5.5. Be aware that a library...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@chuckjaz Of all the planned features for newer versions of angular, this is really what I want the most. Any idea of when Angular will work with newest typescript (2.5 currently) ?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.