Initial Commit
This commit is contained in:
13
miniprogram/miniprogram_npm/tdesign-miniprogram/common/src/flatTool.d.ts
vendored
Normal file
13
miniprogram/miniprogram_npm/tdesign-miniprogram/common/src/flatTool.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export declare const getPrototypeOf: (obj: any) => any;
|
||||
export declare const iterateInheritedPrototype: (callback: (proto: Record<string, any>) => boolean | void, fromCtor: any, toCtor: any, includeToCtor?: boolean) => void;
|
||||
export interface ClassInstanceToObjectOptions {
|
||||
bindTo?: any;
|
||||
excludes?: string[];
|
||||
till?: any;
|
||||
enumerable?: 0 | boolean;
|
||||
configurable?: 0 | boolean;
|
||||
writable?: 0 | boolean;
|
||||
}
|
||||
export declare const toObject: (something: any, options?: ClassInstanceToObjectOptions) => {
|
||||
[key: string]: any;
|
||||
};
|
||||
Reference in New Issue
Block a user