Skip to content

node-red runtime types #6

@nileio

Description

@nileio

hi @alexk111
I believe you have contributed to node-red types in DefinitelyTyped
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/2026ab9fbd33457124a0a6a55d5c1d1e3f696764/types/node-red__runtime/index.d.ts

I was trying to use it in my project but I noticed that the core function createNode does not exist on the type. it should exist under runtime
https://github.com/node-red/node-red/blob/master/packages/node_modules/%40node-red/runtime/lib/nodes/index.js

I am not sure how to generate those types myself but they are useful and I was experimenting of embedding node-red with another application , etc.

can you please advise or let me know how to go about generating those types myself for node-red runtime ?

Thanks !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions