string-ts roadmap #36
Replies: 1 comment 2 replies
-
Roadmap for v2Here are the decisions we took too early that will cause breaking changes so they'll have to be a major bump. Differentiate between casing functions that rely on the
|
Beta Was this translation helpful? Give feedback.
-
Roadmap for v1
As I was asked by @p9f I don't have a specific Roadmap for string-ts yet, but will try to outline my ideas and people can contribute with ideas to this discussion so I can update the list.
Based on MDN's list of String.prototype functions I got some inspiration for the useful native counterparts. I don't think we should implement every function just for the sake of it, though.
Here follows a list where:
✅ = implemented
◻️ = not yet implemented
🟠 = partially implemented
❓ = not sure if it makes sense
🚫 = not gonna implement
string
typestring
typeslice
may be enoughOther common string methods:
Remember that the aim of this library is to have the same expected result at both type and runtime levels, so if you are going to implement one of these methods and you can only do it partially, make sure you modify the runtime implementation to behave the same as the type-level. Here is an (outdated because I solved it) example of it.
Beta Was this translation helpful? Give feedback.
All reactions