UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

10 lines (9 loc) 652 B
import DefaultMethod from "./DefaultMethod"; import NullableCallback from "./NullableCallback"; import NullableDefault from "./NullableDefault"; import Options from "./Options"; type Defaults<T> = { [key in keyof T]: T[key] | NullableDefault<T[key]> | NullableCallback | DefaultMethod | (() => T[key]); }; export default Defaults; export declare const extendDefaults: <T>(parentDefaults: Partial<Defaults<T>>[], ownDefaults: Partial<Defaults<T>>, options?: Partial<{ [key in keyof T]: import("./Range").default | import("./Choices").default<any>; }> | undefined, ownKeysRecord?: Partial<Record<keyof T, true>> | undefined) => Partial<Defaults<T>>;