tnfe / FFCreator

A fast video processing library based on node.js (一个基于node.js的高速视频制作库)
http://tnfe.github.io/FFCreator/
MIT License
2.85k stars 405 forks source link

Have you considered writing source code using typescript? #289

Open zdu-strong opened 2 years ago

zdu-strong commented 2 years ago

Have you considered writing source code using typescript? Now, the source code of ffcreator is js, and provides .d.ts files. From a long-term maintenance perspective, the js code will cause out of sync issues with the .d.ts files.

NestJS is a Node.js framework that provides typescript, eslint, debug, compile and test support. Perhaps, it is possible to refactor on the basis of the NestJS project to obtain a project that is easy to upgrade and maintain.

Below is a screenshot showing how to create a new NestJS project: image

zdu-strong commented 2 years ago

I have multiple projects refactored based on NestJS and it's working fine. It's trustworthy.

drawcall commented 2 years ago

Oh, great idea, but a little busy. I'm developing a new project.

JuerGenie commented 2 years ago

can't agree more, @drawcall I may to do if I have leisure time. may I?😄

drawcall commented 2 years ago

can't agree more, @drawcall I may to do if I have leisure time. may I?😄

New branches can created