Basis support for inspecting types

This commit is contained in:
Ayaz Hafiz 2023-07-16 20:39:27 -05:00
parent 8b7823a237
commit 9e055dcf53
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
8 changed files with 753 additions and 7 deletions

View file

@ -0,0 +1,3 @@
export type Refine<T extends { type: string }, Type extends string> = T & {
type: Type;
};