🏷️ typing

This commit is contained in:
ful1e5 2020-08-16 16:55:26 +05:30
parent 8bcd42f586
commit 2ae0f8ea65

View file

@ -19,11 +19,15 @@ type AnimatedClip = {
}; };
interface Config { interface Config {
staticSvgs: Array<string>; staticSvgs: Array<string> | undefined;
bitmapsDir: string; bitmapsDir: string;
svgsDir: string; svgsDir: string;
animatedCursors: AnimatedCursors; animatedCursors: AnimatedCursors | undefined;
animatedClip: AnimatedClip; animatedClip: AnimatedClip;
} }
export { ColorSchema, Config }; interface Configs {
[name: string]: Config;
}
export { ColorSchema, Config, Configs };