Anki/ts/routes/image-occlusion/fabric.d.ts
Abdo e486d6b513
Improve typing of custom fabric.Object properties (#3134)
* Ensure increasing ordinals of new masks

* Add fabric.d.ts

* Revert "Ensure increasing ordinals of new masks"

This reverts commit dedfeec9ad.
2024-04-13 08:36:08 +01:00

12 lines
297 B
TypeScript

export {};
declare global {
namespace fabric {
interface Object {
id: string;
ordinal: number;
/** a custom property set on groups in the ungrouping routine to avoid adding a spurious undo entry */
destroyed: boolean;
}
}
}