← I Stopped Asking Callers for `as const`. Const Type Parameters Do It.
Playground
const type parameters — interactive playground
preview
Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.
Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.