瀏覽代碼

add types

Aykut Saraç 3 年之前
父節點
當前提交
909ec06c17
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/typings/global.ts

+ 7 - 0
src/typings/global.ts

@@ -0,0 +1,7 @@
+export type Layout = "TB" | "BT" | "LR" | "RL";
+
+export interface StorageConfig {
+    layout: Layout;
+    minimap: boolean;
+    controls: boolean;
+  }