node-red-node-typescript-starter
node-red-node-typescript-starter copied to clipboard
node-red runtime types
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 !!