Add import statement snippet to .js(x) files (#34682)

* Add import statement snippet to JS files

This makes them consistent with TS files.

* Add import statement snippet to jsx files
This commit is contained in:
Oliver Joseph Ash
2017-09-20 16:49:57 +01:00
committed by Matt Bierner
parent e9c41816f7
commit 81444f43fa
2 changed files with 14 additions and 0 deletions

View File

@@ -137,5 +137,12 @@
"/// <reference path=\"$1\" />$0"
],
"description": "Relative Reference to another File"
},
"Import external module.": {
"prefix": "import statement",
"body": [
"import { $0 } from \"${1:module}\";"
],
"description": "Import external module."
}
}

View File

@@ -137,5 +137,12 @@
"/// <reference path=\"$1\" />$0"
],
"description": "Relative Reference to another File"
},
"Import external module.": {
"prefix": "import statement",
"body": [
"import { $0 } from \"${1:module}\";"
],
"description": "Import external module."
}
}