From cf8565eb133ba1d7c16385566fd5db1343f64bb8 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 24 Feb 2025 19:37:18 -0500 Subject: [PATCH] Export enum (#587) --- src/litegraph.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/litegraph.ts b/src/litegraph.ts index 7857799b2..afdd91d43 100644 --- a/src/litegraph.ts +++ b/src/litegraph.ts @@ -25,7 +25,7 @@ import type { import { isColorable } from "./typeGuards" import type { SlotShape, LabelPosition, SlotDirection, SlotType } from "./draw" import type { IWidget } from "./types/widgets" -import type { RenderShape, TitleMode } from "./types/globalEnums" +import { RenderShape, TitleMode } from "./types/globalEnums" import type { CanvasEventDetail } from "./types/events" import { LiteGraphGlobal } from "./LiteGraphGlobal" import { loadPolyfills } from "./polyfills" @@ -79,6 +79,7 @@ export { } export { IWidget } export { LGraphBadge, BadgePosition } +export { RenderShape, TitleMode } export { SlotShape, LabelPosition, SlotDirection, SlotType } export { EaseFunction, LinkMarkerShape, LGraphEventMode } from "./types/globalEnums" export type {