Rich-Harris / magic-string

Manipulate strings like a wizard
MIT License
2.37k stars 113 forks source link

fix(types): improve chainable types #278

Closed antfu closed 7 months ago

antfu commented 7 months ago

Return this allow subclass of them to return the corresponding subclass type instead of the fixed type,