We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd110a commit 1d619b1Copy full SHA for 1d619b1
docs/basic/troubleshooting/types.md
@@ -138,7 +138,7 @@ You can also assert a property is non-null, when accessing it:
138
139
```ts
140
element.parentNode!.removeChild(element) // ! before the period
141
-myFunction(document.getElementById(dialog.id!)! // ! after the property accessing
+myFunction(document.getElementById(dialog.id!)!) // ! after the property accessing
142
let userID!: string // definite assignment assertion... be careful!
143
```
144
0 commit comments