Skip to content

Detecting undef on HTML #1789

Answered by johnsoncodehk
nneto asked this question in Q&A
Discussion options

You must be logged in to vote

Since you didn't use lang="ts", you need to enable checkJs in tsconfig.json / jsconfig.json, or just put // @ts-check in script block top.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nneto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants