Skip to content

Commit

Permalink
update d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Nov 1, 2018
1 parent b1e615a commit 54af9db
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ export class Node {
name: string;
position: number[];

inputs: Input[];
outputs: Output[];
controls: Control[];
inputs: Map<string, Input>;
outputs: Map<string, Output>;
controls: Map<string, Control>;
data: any;
meta: any;

constructor(name: string);

private static incrementId(Class)

addControl(control: Control, index?: number);
addInput(input: Input, index?: number);
addOutput(output: Output, index?: number);
addControl(control: Control);
addInput(input: Input);
addOutput(output: Output);
getConnections(type);

inputsWithVisibleControl();
Expand Down Expand Up @@ -148,6 +148,7 @@ export class Output extends IO {
export abstract class Control {

parent: Input | Node;
key: string;
constructor(key: string);

getNode();
Expand Down

0 comments on commit 54af9db

Please sign in to comment.