Files
Bourse/bourse_app/node_modules/fancy-canvas/size.d.ts
1288 e6189144d7 1
2026-06-08 21:26:47 +08:00

18 lines
355 B
TypeScript

export declare type Size = Readonly<{
width: number;
height: number;
}> & {
__brand: 'Size';
};
export declare function size({ width, height }: {
width: number;
height: number;
}): Size;
export declare function equalSizes(first: {
width: number;
height: number;
}, second: {
width: number;
height: number;
}): boolean;