1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add static declerations to func ts. fixes #3376

This commit is contained in:
Steve-Mcl 2022-01-26 11:40:05 +00:00
parent 0e7863a6fb
commit c4cc204c94

View File

@ -57,13 +57,13 @@ declare class node {
*/ */
static status(status:string|boolean|number); static status(status:string|boolean|number);
/** the id of this node */ /** the id of this node */
public readonly id:string; public static readonly id:string;
/** the name of this node */ /** the name of this node */
public readonly name:string; public static readonly name:string;
/** the path identifier for this node */ /** the path identifier for this node */
public readonly path:string; public static readonly path:string;
/** the number of outputs of this node */ /** the number of outputs of this node */
public readonly outputCount:number; public static readonly outputCount:number;
} }
declare class context { declare class context {
/** /**