Skip to content

Commit 7051d86

Browse files
authored
Fix incorrect type paths (#568)
1 parent 7487c56 commit 7051d86

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/types/comfy.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { LGraphNode, IWidget } from './litegraph'
2-
import { ComfyApp } from '../../scripts/app'
2+
import { ComfyApp } from '../scripts/app'
33

44
export interface ComfyExtension {
55
/**

tests-ui/utils/ezgraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { LiteGraph, LGraphCanvas } from '@comfyorg/litegraph'
22

33
/**
4-
* @typedef { import("./src/scripts/app")["app"] } app
4+
* @typedef { import("../../src/scripts/app")["app"] } app
55
* @typedef { import("../../src/types/litegraph") } LG
66
* @typedef { import("../../src/types/litegraph").IWidget } IWidget
77
* @typedef { import("../../src/types/litegraph").ContextMenuItem } ContextMenuItem

tests-ui/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function checkBeforeAndAfterReload(graph, cb) {
6767
* @param { string } name
6868
* @param { Record<string, string | [string | string[], any]> } input
6969
* @param { (string | string[])[] | Record<string, string | string[]> } output
70-
* @returns { Record<string, import("./src/types/comfy").ComfyObjectInfo> }
70+
* @returns { Record<string, import("../../src/types/comfy").ComfyObjectInfo> }
7171
*/
7272
export function makeNodeDef(name, input, output = {}) {
7373
const nodeDef = {

tests-ui/utils/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface APIConfig {
2626
}
2727

2828
/**
29-
* @typedef { import("./src/types/comfy").ComfyObjectInfo } ComfyObjectInfo
29+
* @typedef { import("../../src/types/comfy").ComfyObjectInfo } ComfyObjectInfo
3030
*/
3131

3232
/**

0 commit comments

Comments
 (0)