FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
29.73k stars 15.32k forks source link

Add typescript support for ui instead of javascript #2770

Open kapoorp99 opened 2 months ago

kapoorp99 commented 2 months ago

We propose adding TypeScript support for the UI components of the project to enhance code quality, improve developer experience, and leverage the benefits of static typing. Motivation: TypeScript is a superset of JavaScript that adds static typing, which helps catch errors early during development and provides better tooling support. By adopting TypeScript for the UI components, we can:

Improve code readability and maintainability. Enable better collaboration among developers through explicit type definitions. Reduce runtime errors by catching type-related issues at compile time. Take advantage of the rich ecosystem of TypeScript tools and libraries.

HenryHengZJ commented 2 months ago

Would love to switch to Typescript too, its quite an effort 😄

kapoorp99 commented 1 month ago

I Will share the major pr but i have analyzed that whole repo needs to be changed, because the pipelines as well break if we start from the current repo status @HenryHengZJ

HenryHengZJ commented 1 month ago

@kapoorp99 yeah it is a big refractor change, do you have something already in work? feel free to add me to your repo

kapoorp99 commented 1 month ago

okk sure