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