mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8201cebc49
Store the trigger kind before each switch and assign the value to `never` in the fallback branch. This removes the `any` casts and makes the switches exhaustive. Adding a new `DeferTriggerKind` without handling it in either phase now produces a TypeScript compilation error. Runtime behavior and error messages remain unchanged.