hoeck / simple-runtypes

Small, efficient and extendable runtype library for Typescript
MIT License
114 stars 5 forks source link

Add missing `typeof` keyword in the README #56

Closed mandx closed 2 years ago

mandx commented 2 years ago

Change from

type NetworkState = ReturnType<networkStateRuntype>

to

type NetworkState = ReturnType<typeof networkStateRuntype>
hoeck commented 2 years ago

Thx for catching & fixing that typo :grin:

mandx commented 2 years ago

You're welcome! Awesome little library by the way, feels great to use.