From 00b60c63f37f6132fd8e179d67cff2203f00f879 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Tue, 19 Sep 2017 19:45:29 +0100 Subject: [PATCH] Update .tsx import statement snippet to be consistent with .ts Fixes https://github.com/Microsoft/vscode/issues/34646 --- extensions/typescript/snippets/typescriptreact.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/typescript/snippets/typescriptreact.json b/extensions/typescript/snippets/typescriptreact.json index c0d38f23c18f6..894d617727664 100644 --- a/extensions/typescript/snippets/typescriptreact.json +++ b/extensions/typescript/snippets/typescriptreact.json @@ -50,7 +50,7 @@ "Import external module.": { "prefix": "import statement", "body": [ - "import ${1:name} = require('$0');" + "import { $0 } from \"${1:module}\";" ], "description": "Import external module." },