Compile error with fullTemplateTypeCheck: true
See original GitHub issueI’m submitting a … (check one with “x”)
[X] bug report => search github for a similar issue or PR before submitting
Current behavior Angular 5.2 introduces a new AoT compiler option to perform a more thorough type check on templates. It is expected that this option will default to true in a future version:
https://blog.angular.io/angular-5-2-now-available-312d1099bd81
Building a project with angular-tree-component shows one type error:
node_modules/angular-tree-component/dist/components/tree.component.d.ts.TreeComponent.html(2,5): : Directive TreeViewportComponent, Expected 0 arguments, but got 1.
-
angular-tree-component version: 7.1.0
-
Angular version: 5.2.0
-
Browser: [all ]
-
Language: [TypeScript 2.5.2]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Compile error with fullTemplateTypeCheck: true #534 - GitHub
I get the same error with ng build --prod on the latest 7.0.2 release with "fullTemplateTypeCheck": true in my project tsconfig.app.json .
Read more >Angular compiler does not report template error but IntelliJ does
My IDE was displaying an error although I couldn't see anything reported by angular in console.
Read more >Compilation error during "ng build - MDBootstrap
After adding "angularCompilerOptions": {"fullTemplateTypeCheck": true } to tsconfig the following errors arose during when we run "ng build --prod".
Read more >Angular compiler options
Default is false , but when you use the Angular CLI command ng new --strict , it is set to true in the...
Read more >Angular 9's Best Hidden Feature: Strict Template Checking
When fullTemplateTypeCheck was true, Angular checked that the hero is a valid model on the component, but it assumes the model is of...
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 FreeTop 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
Top GitHub Comments
Published in 7.2.1
I have created a PR a long time ago… https://github.com/500tech/angular-tree-component/pull/537
The maintainer needs to apply it.