4 lines
99 B
TypeScript
4 lines
99 B
TypeScript
type Brand<K, T> = K & { readonly __brand: T };
|
|
|
|
export type Extensible = Brand<"Extensible", {}>;
|