From 4f599ae71d21a58c6457e031e077e2057686f5be Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Tue, 19 Sep 2017 20:41:19 +0100 Subject: [PATCH] Update .tsx import statement snippet to be consistent with .ts (#34653) 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 c0d38f23c18..894d6177276 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." },