UNPKG

@lcap/asl

Version:

NetEase Application Specific Language

26 lines (25 loc) 782 B
export * from './string'; export * from './traverse'; export * from './logger'; /** * 用 lodash 的 throttle 好像有点问题,先临时做个处理 * @param func * @param wait * @param options */ export declare const throttle: (func: Function, wait: number, options: any) => Function; export declare function clearObject(obj: any): void; export declare function clearObjectDeep(obj: any): void; export declare const waitPromise: (wait: number) => Promise<unknown>; export interface ParamStruts { name: string; schema: any; in: string; required: boolean; defaultValue: any; } export interface resolvedParameter { parameters: string; requestBody: string; } export declare function resolveParameter(params: Array<ParamStruts>): resolvedParameter;