UNPKG

vue-yandex-maps

Version:
8 lines (7 loc) 243 B
export type PartialRecord<K extends keyof any, T> = { [P in K]?: T; }; export interface ClassType<T, P extends any[]> extends Function { new (...args: P): T; } export type ArgsType<T> = T extends (...args: infer U) => any ? U : never;