question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular does not compile cleanly with TypeScript 2.4

See original GitHub issue

I’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:

#17863 #17522

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:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
xnnkmdcommented, Sep 13, 2017

@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) ?

0reactions
angular-automatic-lock-bot[bot]commented, Dec 14, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found