anvil/striker-ui/types/MapToType.d.ts

12 lines
260 B
TypeScript
Raw Normal View History

declare type MapToType = {
2022-09-08 20:48:31 +00:00
boolean: boolean;
number: number;
object: Record<string, unknown>;
string: string;
undefined: undefined;
};
declare type MapToValueConverter = {
[TypeName in keyof MapToType]: (value: unknown) => MapToType[TypeName];
};