@box2d/debug-draw
Version:
Debug drawing helper for @box2d
12 lines • 389 B
TypeScript
export type b2Augmentation<T extends {
[s: string]: any;
}> = {
[P in keyof T]?: (original: T[P], ...args: Parameters<T[P]>) => ReturnType<T[P]>;
};
export declare function b2_augment<T extends {
[s: string]: any;
}>(host: T, augmentations: b2Augmentation<T>): void;
export type b2Writeable<T> = {
-readonly [P in keyof T]: T[P];
};
//# sourceMappingURL=b2_augment.d.ts.map