Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Warning-Message for html-file with typescript #18412

Closed
HouCode opened this issue Sep 12, 2017 · 2 comments
Closed

Warning-Message for html-file with typescript #18412

HouCode opened this issue Sep 12, 2017 · 2 comments
Labels
Question An issue which isn't directly actionable in code

Comments

@HouCode
Copy link

HouCode commented Sep 12, 2017

Is there a possibility to output a error message / warning with typescript, when the data binding or the name of the variable is wrong?

for example:

{{ classname.check().SOMETHINGSTUPID }}

// In this case, attaching "SOMETHINGSTUPID" to my code doesn't output a error or warning.

thank you

@mhegazy
Copy link
Contributor

mhegazy commented Sep 12, 2017

The typescript compiler does not check the html template. if this is an angular template, then consider posting this issue on https://github.com/angular/angular. if this is a general handelbars-like template request, #5151 tracks that proposal.

@mhegazy mhegazy added the Question An issue which isn't directly actionable in code label Sep 12, 2017
@HouCode
Copy link
Author

HouCode commented Sep 13, 2017

thanks @mhegazy. But i found a different solution for the problem by using "Angular Language Service"!
Really nice VS Code Plugin ;)

@HouCode HouCode closed this as completed Sep 13, 2017
@HouCode HouCode reopened this Sep 13, 2017
@HouCode HouCode closed this as completed Sep 13, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

2 participants