5 lines
86 B
TypeScript
5 lines
86 B
TypeScript
export declare type ValuesOf<T> = T[keyof T];
|
|
|
|
export type IDItem<T> = {
|
|
id: T;
|
|
}; |