sdg
Version:
pomelo ts
11 lines (10 loc) • 422 B
TypeScript
export declare const readDir: (dir: string, fn?: Function | undefined) => string[];
export declare const defineGetter: (obj: object, key: string, val: any) => void;
export declare const getClassName: (c: any) => string;
/**
* 列出ES6的一个Class实例上的所有方法,但不包括父类的
* @param objInstance
*/
export declare function listEs6ClassMethods(objInstance: {
[key: string]: any;
}): string[];