chore: add resource under typescript:typescript-types:type-assertions:as-type

pull/4048/head
roadmap bot 1 year ago
parent 226e94857b
commit 38106a8199
  1. 2
      src/data/roadmaps/typescript/content/101-typescript-types/115-type-assertions/101-as-type.md

@ -12,3 +12,5 @@ let str = num as string;
```
It's important to note that type assertions do not change the runtime type of a value, and do not cause any type of conversion. They simply provide a way for the programmer to override the type inference performed by the compiler.
- [Type assertions](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions)
Loading…
Cancel
Save