Include browser compatibility notes in lib.d.ts comments #3250
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
After experiencing a problem caused by using Element.classList in some TypeScript code that was intended to run on IE8, I'm thinking it would be nice to include in the comments for methods known browser compatibility issues.
If this were done in a 'conventional' way, then it could also be interpreted by tooling much the way that the WebEssentials extension for Visual Studio can show browser support tooltips for CSS. eg.
The text was updated successfully, but these errors were encountered: