Annotate settings.ts (#134)

* Annotate settings.ts

* nit
This commit is contained in:
Chenlei Hu
2024-07-16 11:21:23 -04:00
committed by GitHub
parent e216fa82c5
commit 13cda7de41
4 changed files with 53 additions and 41 deletions

View File

@@ -30,6 +30,7 @@ import {
LGraphNode,
LiteGraph,
} from "@comfyorg/litegraph";
import { StorageLocation } from "@/types/settingTypes";
// CSS imports. style.css must be imported later as it overwrites some litegraph styles.
import "@comfyorg/litegraph/css/litegraph.css";
@@ -104,8 +105,7 @@ export class ComfyApp {
progress: { value: number; max: number } | null;
configuringGraph: boolean;
isNewUserSession: boolean;
// Are there any other options than "server"?
storageLocation: string;
storageLocation: StorageLocation;
multiUserServer: boolean;
ctx: CanvasRenderingContext2D;
widgets: Record<string, ComfyWidgetConstructor>;