Typescript LGraph (#200)

* Format only

* nit - Refactor

* Refactor & reformat only

* Refactor TS narrowing & coercion

* Remove ts-nocheck

* Fix downstream break when node id is string
This commit is contained in:
filtered
2024-10-09 07:36:39 +11:00
committed by GitHub
parent 5d510cd674
commit 9d0e06ac01
2 changed files with 735 additions and 959 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -34,7 +34,7 @@ export type ISerialisedGraph<
> = {
last_node_id: LGraph["last_node_id"]
last_link_id: LGraph["last_link_id"]
last_reroute_id: LGraph["last_reroute_id"]
last_reroute_id?: LGraph["last_reroute_id"]
nodes: TNode[]
links: TLink[] | LLink[]
groups: TGroup[]