diff --git a/TODO.md b/TODO.md index adc17851..4da53550 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,3 @@ -`NodeDefinition.fullName` - quit using `Action` `Action` should be type instead of class diff --git a/src/lang/graph/createNode.ts b/src/lang/graph/createNode.ts index 8b9536f8..36f6130b 100644 --- a/src/lang/graph/createNode.ts +++ b/src/lang/graph/createNode.ts @@ -1,4 +1,4 @@ -import * as Definitions from "../definitions" +import { NodeKind } from "../definitions" import { Node, createPort } from "../graph" import { Mod } from "../mod" import { Type } from "../type" @@ -6,7 +6,7 @@ import { Type } from "../type" let counter = 0 export function createNode( - kind: Definitions.NodeKind, + kind: NodeKind, mod: Mod, name: string, inputTypes: Array,