Skip to content

Commit 34769d2

Browse files
authored
typo fix closes #561
1 parent 5c40cac commit 34769d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/why-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TypeScript uses postfix type annotations popular in other *optionally* annotated
4141
```ts
4242
var foo: number = 123;
4343
```
44-
So if you do something wrong the compiler will error e.g.:
44+
So if you do something wrong the compiler will report an error e.g.:
4545

4646
```ts
4747
var foo: number = '123'; // Error: cannot assign a `string` to a `number`

0 commit comments

Comments
 (0)