Closed peterjwest closed 1 year ago
Seems like using a narrower type here would be better, allowing users to do less type checking, since JSON is a pretty simple format.
Might also be worth exposing the JSON types for people to use.
I didn't attempt to update the docs, just putting forward the idea for now!
Thanks Pete! But closing because of the reasons specified in #10
https://github.com/total-typescript/ts-reset/issues/10
Seems like using a narrower type here would be better, allowing users to do less type checking, since JSON is a pretty simple format.
Might also be worth exposing the JSON types for people to use.
I didn't attempt to update the docs, just putting forward the idea for now!