Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 240 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 240 Bytes

Collection of unsoundness in TypeScript

Various ways to write unsafe_cast<T, U>(x: T): U, null_as<T>(): T, undefined_as<T>(): T, etc.

Most of examples come from Tkr's article