mojotech / json-type-validation

TypeScript JSON type validation
MIT License
155 stars 15 forks source link

Update import to use correct name #49

Closed caseyhoward closed 4 years ago

caseyhoward commented 4 years ago

I just wasted an hour trying to figure out why I couldn't import this. Was I doing something wrong trying the import statement in the current docs and it should have worked? This is the only way it works for me.

caseyhoward commented 4 years ago

That was fast, thanks. That couldn't have helped with getting new users ;)

It gave an error before that it couldn't find the import. Since I had copy-pasted the import I assumed it couldn't be that, so I assumed it was the way I had typescript configured so into the rabbit hole I went.

Anyway, really liking the library so far. It's already easily saved me the hour that I lost.