You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@ Allow default for `@Component` metadata for Angular 2
22
22
Given this simple Component example
23
23
`app.js`
24
24
25
-
```tyypescript
25
+
```typescript
26
26
@Component({})
27
27
exportclassApp {
28
28
}
29
29
```
30
30
Webpack will change the code
31
31
`app.js`
32
32
33
-
```tyypescript
33
+
```typescript
34
34
@Component({
35
35
selector: "app",
36
36
styles: [require("./app.css")],
@@ -39,7 +39,7 @@ Webpack will change the code
39
39
exportclassApp {
40
40
}
41
41
```
42
-
this is assuming you have coresponding files next to the component. You may overwrite the selector at anytime by providing one. If the selector and the component file name does not match then the coresponding css/template file with the selector will be injected
42
+
this is assuming you have coresponding files next to the component. You may overwrite the selector at anytime by providing one. If the selector and the component file name does not match then the coresponding css/template file with the selector will be injected.
0 commit comments