Skip to content
tezvyn:
Menu

Angular is decoupling its compiler from TypeScript APIs

Source: Angular BlogMediumHow cards are made

Angular says it is building an Angular-specific compiler so the framework can benefit from TypeScript 7’s native tooling without depending on its compiler APIs.

Angular reports a new compiler direction: separate Angular’s component and directive transforms from TypeScript’s compiler APIs. That is intended to let Angular use TypeScript 7’s native tooling while preserving Angular-specific transforms. The post describes ongoing work, so treat it as a development update rather than a released migration.

Try this: keep your build pinned and read the eventual migration guidance before changing compiler settings.

Interview question

What is Angular’s stated reason for decoupling its compiler from TypeScript’s APIs?

  • a.To use TypeScript 7 native tooling while retaining Angular transformsCorrect
  • b.To move Angular template checking entirely into IDE plugins
  • c.To avoid running Angular-specific transforms during compilation
  • d.To make Angular releases depend on private TypeScript compiler APIs
Why?

The post describes an Angular-specific compiler that can use newer tooling while handling Angular transforms itself.

Just read this? Test yourself on what you have been reading.

Read the original → blog.angular.dev

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on angular — each one lists the topics its interview covers.

See open roles