Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-red runtime types #6

Open
nileio opened this issue Jun 21, 2022 · 0 comments
Open

node-red runtime types #6

nileio opened this issue Jun 21, 2022 · 0 comments

Comments

@nileio
Copy link

nileio commented Jun 21, 2022

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 !!

@nileio nileio changed the title node-red runtim types node-red runtime types Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant