Skip to content

Add Schema type declaration #121

@oliverfindl

Description

@oliverfindl
  • Operating System: Ubuntu 16.04 LTS
  • Node Version: 14.15.3
  • NPM Version: 6.14.10
  • webpack Version: ^4
  • schema-utils Version: ^3

Feature Proposal

Please add standalone Schema type declaration.

Currently is possible to import it manually from validate method type declarations, but it is not convenient:

import * as schemaUtils from "schema-utils";
import { Schema } from "schema-utils/declarations/validate";

Feature Use Case

To use typed schema object, that is passed into validate method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions