TCMiranda / joi-extract-type

Provides native type extraction from Joi schemas for Typescript
MIT License
151 stars 27 forks source link

wrong instruction on usage #32

Closed allenz8512 closed 4 years ago

allenz8512 commented 4 years ago

use import "joi-extract-type/dist/index" instead of import './index';

DamodarSojka commented 4 years ago

Actually none of: import "joi-extract-type/dist/index"; import "joi-extract-type/index"; import "./index"; (obviously) work for me.

Namespace "Joi" has no exported member "extractType", in all of the cases. TS 3.7.5

shadrech commented 4 years ago

Same here. Any updates we should be aware of @TCMiranda

yinzara commented 4 years ago

i see there are changes in the past 9 days related to TypeScript 3.9 support however I tried to pull these changes and there was no effect. Same error as above.