5 Commits

Author SHA1 Message Date
Robert Massaioli
f3ffbedd41
Update for-in loop to work with eslint:recommended (#99721)
The code in the automatic template will fail this eslint rule: https://eslint.org/docs/rules/no-prototype-builtins. This is just plain annoying.

This change will make the snippet generated code not fail the linter. It will also avoid the subtle bugs that the eslint rule was made to avoid in the first place.
2020-06-09 23:52:58 -07:00
Jack Works
ece530adcf
Update typescript.code-snippets (#98521) 2020-05-27 11:41:23 -07:00
Martin Aeschlimann
d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00
Matt Bierner
c9c2d9e80b Remove return statement snippets for ts
Fixes #45217

These snipepts do not add much value and do not seem like a good fit for core vscode
2018-03-08 15:14:27 -08:00
Matt Bierner
e23c58b3ab Split out ts syntax and grammar to ts basics 2018-02-23 13:29:52 -08:00