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

pull/4053/head
roadmap bot 1 year ago committed by Kamran Ahmed
parent 61139a37b6
commit ade7fbfa3b
  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. 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