The-CodingSloth / haha-funny-leetcode-extension

MIT License
396 stars 75 forks source link

Add TypeScript support #9

Closed The-CodingSloth closed 10 months ago

The-CodingSloth commented 10 months ago

Currently using JavaScript throughout this whole extension and that's some Junior Developer behavior. TypeScript support would help a lot and make this look more professional because we're all 10x developers here.

Here's a link for chrome type package to get started: chrome type package

slav-getov commented 10 months ago

Hey, idk if this was intentional but the link you provided does not actually lead to where you want - it leads to: 'https://github.com/The-CodingSloth/haha-funny-leetcode-extension/issues/url'.

Anyways, for anyone else interested @The-CodingSloth wanted to link here. Thank you for making that video on the extension!

The-CodingSloth commented 10 months ago

haha thanks so much I'm dumb sometimes

green1490 commented 10 months ago

I rewrote the codebase into typescript besides the test scripts. The only thing that is left is to handle undefined cases to reduce the spaghetti.