Skip to content

Typescript Cheatsheet

Shaung Cheng edited this page Apr 29, 2020 · 1 revision

Dealing with Enum

Want to type check against a enum? Check out this post which suggest another way doing it - using const. You may combine enum with another const object / table to achieve type checking, dev-friendly access to enums and reverse lookup, etc!