From 1376459cd84f35a00deb802acddc092a14b22075 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 14 Jun 2024 17:11:19 -0400 Subject: [PATCH] Migrate app.js (#12) * Rename js to ts * Fix all tsc errors * nit --- index.html | 2 +- src/scripts/{app.js => app.ts} | 175 ++++++++++++++++++++++++++------- src/scripts/domWidget.ts | 7 +- src/scripts/logging.ts | 2 +- src/scripts/ui.ts | 2 +- src/scripts/ui/settings.ts | 2 +- src/scripts/utils.ts | 2 + src/scripts/widgets.ts | 42 +++++++- src/types/comfy.d.ts | 7 +- src/types/litegraph.d.ts | 21 +++- 10 files changed, 213 insertions(+), 49 deletions(-) rename src/scripts/{app.js => app.ts} (94%) diff --git a/index.html b/index.html index 30d8125d3..230ec00b4 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@