keypress e.code is not valid TypeScript, but is valid JavaScript #9206
Labels
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
Milestone
TypeScript Version:
1.8.10
Code
Expected behavior:
(e.code == "Enter") is valid
Actual behavior:
(e.code == "Enter") is not valid because .code is not recognized as a legit property
The text was updated successfully, but these errors were encountered: