Skip to content

Commit e31fe92

Browse files
authored
Update type-assertion.md
1 parent c297e47 commit e31fe92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/types/type-assertion.md

+3
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ var foo: Foo = {
8282
In some cases you might need to create a temporary variable, but at least you will not be making (possibly false) promises and instead relying on the type inference to do the checking for you.
8383

8484
### Double assertion
85+
86+
> [Pro Video Lesson on Double Assertion](https://www.booleanart.com/course/typescript/double-assertion)
87+
8588
The type assertion, despite being a bit unsafe as we've shown, is not *completely open season*. E.g. the following is a very valid use case (e.g. the user thinks the event passed in will be a more specific case of an event) and the type assertion works as expected:
8689

8790
```ts

0 commit comments

Comments
 (0)