diff --git a/types/node-red/index.d.ts b/types/node-red/index.d.ts index 4c9a1f093a..bc58257e2c 100644 --- a/types/node-red/index.d.ts +++ b/types/node-red/index.d.ts @@ -215,5 +215,6 @@ export interface Nodes { * @param constructor - the constructor function for this node type * @param opts - optional additional options for the node */ - registerType(type: string, constructor: (props: NodeProperties) => any, opts?: any): void; + // tslint:disable-next-line no-unnecessary-generics + registerType(type: string, constructor: (props: T) => any, opts?: any): void; }