Skip to content

Commit 61efaa7

Browse files
committed
Add a semicolon to the import, uncomment out the moduleId in the component
1 parent 0658e7a commit 61efaa7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snippets/ng2-component.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { Component, OnInit } from '@angular/core';
44
55
@Component({
6-
//moduleId: module.id,
6+
moduleId: module.id,
77
selector: '${1:selector}',
88
templateUrl: '${2:name}.component.html'
99
})

snippets/ng2-import.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
import { ${2:Module} } from '${1:path/to/module}'$0]]></content>
3+
import { ${2:Module} } from '${1:path/to/module}';$0]]></content>
44
<tabTrigger>ng2-import</tabTrigger>
55
<scope>source.ts,source.tsx,source.js</scope>
66
<description>Angular 2 Import Snippet</description>

0 commit comments

Comments
 (0)