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.

Compile error with fullTemplateTypeCheck: true

See original GitHub issue

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

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

github_iconTop GitHub Comments

adamkleingitcommented, Jul 12, 2018

Published in 7.2.1

achimhacommented, Jun 6, 2018

I have created a PR a long time ago…

The maintainer needs to apply it.

Read more comments on GitHub >

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

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 Post

No results found

github_iconTop Related Hashnode Post

No results found