Update litegraph (TypeScript LLink) (#1213)

* Update litegraph (TypeScript LLink)

* Remove ts-expect-error
This commit is contained in:
Chenlei Hu
2024-10-10 20:54:31 -04:00
committed by GitHub
parent 459afa158c
commit 60e1b82df6
3 changed files with 5 additions and 7 deletions

View File

@@ -159,7 +159,6 @@ app.registerExtension({
for (const l of node.outputs[0].links || []) {
const link = app.graph.links[l]
if (link) {
// @ts-expect-error Fix litegraph types
link.color = color
if (app.configuringGraph) continue
@@ -205,7 +204,6 @@ app.registerExtension({
if (inputNode) {
const link = app.graph.links[inputNode.inputs[0].link]
if (link) {
// @ts-expect-error Fix litegraph types
link.color = color
}
}