🚛 Export types

This commit is contained in:
ful1e5 2020-08-27 16:33:39 +05:30
parent a65f58e1ef
commit 4bf6ed63fa

View file

@ -0,0 +1,23 @@
// --------------------------- Types
type AnimatedCursors = {
readonly [name: string]: {
readonly frames: number;
};
};
type AnimatedClip = {
readonly x: number;
readonly y: number;
readonly width: number;
readonly height: number;
};
interface Config {
staticCursors: Array<string>;
bitmapsDir: string;
svgsDir: string;
animatedCursors: AnimatedCursors;
animatedClip: AnimatedClip;
}
export { Config };