-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimebugcore: control flowIssues related to the built-in control flow (@if, @for, @switch)Issues related to the built-in control flow (@if, @for, @switch)state: has PR
Milestone
Description
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
I have a legacy app which doesn't have strictTemplates enabled.
I updated to ng 17 and then built the project without error.
I then ran the preview migration script to convert the project to the new flow control.
I'm now getting errors consistent with strictTemplates. (These aren't issues with the migration going wrong.)
e.g.
error TS2339: Property 'YYYYYYY' does not exist on type 'XXXXXX'.
Can I force strictTemplates off again? (my tsconfig is unchanged between the 2 builds).
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.1
Node: 18.17.1
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 17.0.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.1
@angular-devkit/build-angular 17.0.1
@angular-devkit/core 17.0.1
@angular-devkit/schematics 17.0.1
@angular/cli 17.0.1
@angular/ssr 17.0.1
@angular/youtube-player 17.0.0
@schematics/angular 17.0.1
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.2
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimebugcore: control flowIssues related to the built-in control flow (@if, @for, @switch)Issues related to the built-in control flow (@if, @for, @switch)state: has PR