Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Commit dd3c6b8

Browse files
authored
Update README.md
1 parent b517f26 commit dd3c6b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Allow default for `@Component` metadata for Angular 2
2222
Given this simple Component example
2323
`app.js`
2424

25-
```tyypescript
25+
```typescript
2626
@Component({})
2727
export class App {
2828
}
2929
```
3030
Webpack will change the code
3131
`app.js`
3232

33-
```tyypescript
33+
```typescript
3434
@Component({
3535
selector: "app",
3636
styles: [require("./app.css")],
@@ -39,7 +39,7 @@ Webpack will change the code
3939
export class App {
4040
}
4141
```
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.
4343

4444

4545
___

0 commit comments

Comments
 (0)