Skip to content

Commit 9ca7485

Browse files
authored
Merge pull request #6 from ntower/patch-2
Add missing 'as' to import
2 parents dd57ade + 762d308 commit 9ca7485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"React Stateless Functional Component": {
102102
"prefix": "tsrsfc",
103103
"body": [
104-
"import * React from 'react';",
104+
"import * as React from 'react';",
105105
"",
106106
"interface ${1:App}Props {$2",
107107
"}",
@@ -255,4 +255,4 @@
255255
],
256256
"description": "Create a import"
257257
}
258-
}
258+
}

0 commit comments

Comments
 (0)