tdegrunt / jsonschema

JSON Schema validation
Other
1.83k stars 263 forks source link

'propertyNames' does not exist in type 'Schema' #340

Closed adrian-kriegel closed 2 years ago

adrian-kriegel commented 3 years ago

The type definition of Schema seems incomplete as propertyNames is missing. Does the library support propertyNames?

awwright commented 3 years ago

It should be landed as of 1.3.0.

Unfortunately I don't really know of any good way to test a TypeScript definition, so sometimes it gets missed.

adrian-kriegel commented 3 years ago

In theory, you could create a json-schema from the typescript definitions and compare it to the json-schema-schema, if that makes sense...

Unfortunately I don't really know of any good way to test a TypeScript definition, so sometimes it gets missed.

awwright commented 2 years ago

Landed in 5e219db670bb8a57f5af932e21d51e2ccf44e679