impair
Version:
impair is a React framework bringing several programming concepts together in order to provide a foundation for a layered, scalable, performant and enterprise level react application.
5 lines (4 loc) • 324 B
TypeScript
export declare function getAllPropertiesAndMethods<T>(obj: T): string[];
export declare function bindMethods<T extends object>(instance: T): T;
export declare function patchClassInstanceMethod(instance: any, methodName: string, callback: () => void): any;
export declare function isPlainObject(obj: unknown): obj is object;