Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Doesn't work with fullTemplateTypeCheck #6

Open
jgerstle opened this issue Nov 24, 2020 · 2 comments
Open

Doesn't work with fullTemplateTypeCheck #6

jgerstle opened this issue Nov 24, 2020 · 2 comments

Comments

@jgerstle
Copy link

If you use fullTemplateTypeCheck, this will not work since angular thinks that the input type is an observable.
Sample: https://stackblitz.com/edit/angular-ivy-spemgh

@Futhark Futhark closed this as completed in df45062 Dec 1, 2020
@Futhark
Copy link
Owner

Futhark commented Dec 1, 2020

@jgerstle Thank you for finding that issue. Unfortunately, I don't see any good way to omit that checks. For now I suggest using:
"strictInputTypes": false
which will disable only Input checks. I've added that to README.md

@Futhark Futhark reopened this Dec 1, 2020
@BrianShenCC
Copy link

I think you can use static ngAcceptInputType_ to fix it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants