scotthovestadt / schema-object

Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property "extend" missing in typescript definition

Relik77 opened this issue · comments

Hi,

When i execute the code https://www.npmjs.com/package/schema-object#extend
I have a typescript error :
error TS2339: Property 'extend' does not exist on type 'new (values?: {}) => SchemaObjectInstance<{}>'.