RSSHub icon indicating copy to clipboard operation
RSSHub copied to clipboard

Using TypeScript

Open DIYgod opened this issue 1 year ago • 4 comments

What feature is it?

Convert all js modules to ts modules to get better code suggestions and error prompts.

What problem does this feature solve?

The current types are too chaotic, and it is also difficult to detect code errors.

Additional description

No response

This is not a duplicated feature request or new RSS proposal

DIYgod avatar Dec 17 '23 12:12 DIYgod

really like this project and wanna help with this issue, any instructions?

bzy-debug avatar Dec 20 '23 11:12 bzy-debug

No instructions, this change is too big, and I don't know where to start.

DIYgod avatar Dec 20 '23 13:12 DIYgod

Maybe first try to convert all cjs to esm

bzy-debug avatar Dec 20 '23 13:12 bzy-debug

#7531

JimenezLi avatar Dec 28 '23 14:12 JimenezLi