8000 Update type-assertion.md · abhijit-hota/typescript-book@eb41e05 · GitHub
[go: up one dir, main page]

Skip to content

Commit eb41e05

Browse files
authored
Update type-assertion.md
1 parent 3e5ca7f commit eb41e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/type-assertion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ interface Foo {
7474
bar: number;
7575
bas: string;
7676
}
77-
var foo: FOO = {
77+
var foo: Foo = {
7878
// the compiler will provide autocomplete for properties of Foo
7979
};
8080
```

0 commit comments

Comments
 (0)
0