gustavoguichard / string-ts

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

chore: Better test types error messages #138

Closed gustavoguichard closed 10 months ago

gustavoguichard commented 10 months ago

To improve type tests I changed the Equal type (as done by @diogob in domain-functions) thus we'll have much better error messages when expectation fails:

From

Screenshot 2023-12-19 at 09 12 24

To

Screenshot 2023-12-19 at 09 12 07