You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When JavaScript users don't have type-checking turned on, there are often some good suggestions left on the table that go to waste.
Obviously we can't just provide all the errors that checkJs would issue, but there are a few good ones. Specifically, spelling suggestions could be provided if we were more confident in how useful they are, where confidence is determined by some rules.
Some of the following rules might be worth investigating:
the suggestion occurs in a module file
the "misspelled" identifier occurs nowhere else in the program
the "misspelled" identifier is not a commonly-used identifier in well-known libraries
the suggestion's edit distance is lower than the usual threshold
When JavaScript users don't have type-checking turned on, there are often some good suggestions left on the table that go to waste.
Obviously we can't just provide all the errors that
checkJswould issue, but there are a few good ones. Specifically, spelling suggestions could be provided if we were more confident in how useful they are, where confidence is determined by some rules.Some of the following rules might be worth investigating: