xiaokuaisong-xiaochengxu/uniapp04/node_modules/@dcloudio/uni-app/dist/utils.d.ts
2025-04-11 14:42:29 +08:00

10 lines
534 B
TypeScript

export declare const extend: {
<T extends {}, U>(target: T, source: U): T & U;
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
(target: object, ...sources: any[]): any;
};
export declare const hasOwn: (val: object, key: string | symbol) => key is never;
export declare const isPlainObject: (val: unknown) => val is object;
export declare const capitalize: (str: string) => string;