isoflow/src/global.d.ts
2023-08-28 19:32:51 +01:00

14 lines
315 B
TypeScript

import { Size, Coords, SceneInput } from 'src/types';
declare global {
let PACKAGE_VERSION: string;
let REPOSITORY_URL: string;
interface Window {
Isoflow: {
getUnprojectedBounds: () => Size & Coords;
fitProjectToScreen: () => void;
setScene: (scene: SceneInput) => void;
};
}
}