3 ms·
You have `as const`. Yes I know it's not enforced at runtime, but the type system does support it.
by dougherty 11mo ago
You have `as const`. Yes I know it's not enforced at runtime, but the type system does support it.
- danenania 11mo agoThere’s Object.freeze for enforcing at runtime.