Skip to content

Commit 5f9076b

Browse files
author
Kyohei Shimada
committed
Add missing "}"
1 parent e0bbe6f commit 5f9076b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

What's-new-in-TypeScript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ console.log(x! + x!);
21562156

21572157
function initialize() {
21582158
x = 10;
2159-
2159+
}
21602160
```
21612161

21622162
In our example, we knew that all uses of `x` would be initialized so it makes more sense to use definite assignment assertions than non-null assertions.

0 commit comments

Comments
 (0)