Skip to content

Inconsistencies in type definitions #224

@medfreeman

Description

@medfreeman

Hi.

I encountered a few inconsistencies in included type definitions:

  • they don't support JSONSchema7, whereas the tool is draft agnostic
  • the resolve Options key doesn't pass strict mode checks, because its index signature is not compatible with the defined keys
  • the ResolverOptions interface has its read function signature return type union missing JSONSchema

I'll be submitting a PR in a few minutes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions