gustavoguichard / string-ts

Strongly typed string functions
MIT License
1.2k stars 17 forks source link

SOOOO COOOL #49

Open mdugue opened 1 year ago

mdugue commented 1 year ago

Wuaahhhh great work!!! Would love to see this beeing part of the String definitions in the standard typescript library. I have no idea if this is realistic or how to achieve this, but wanted to let you know how great this work is!!! 🎉🎉🎉

gustavoguichard commented 1 year ago

Thank you @mdugue ! You made my day ❤️

I'd love to have better typing on some of the native methods too but I understand it could be too strict for most folks, so having the possibility to pull strongly typed methods on demands seems like a sweet spot! Especially as we are working to improve tree shaking so people can just pick their flavors of string-ts.

I appreciate your message 🤗

rawpixel-vincent commented 9 months ago

same here, I've been playing with string literals for a while and your library was the best resource I found to grasp the the magic behind infer. I've been able to figure out this array for string construct from your work. https://github.com/rawpixel-vincent/string-literal-list

SOOOO COOOL 🥇

gustavoguichard commented 8 months ago

Hi @rawpixel-vincent ! Thank you very much for the love and support! I'm glad you were able to learn something here 🤓 made my day!