Skip to content

[Enhancement]: Create a typescript declaration file for the schema and publish the types as an npm package #537

Description

@MattCantor

Description of Enhancement :

I'd like to propose that we generate a TypeScript declaration file for the schema and publish the types as an npm package.

Why is this Needed?

Having type signatures for the various objects in the schema would improve the DX when building out modules on top of the schema.

An immediate use of this would be to refactor Arthur's validator tools into standalone modules.

Anything else we need to know?

Perhaps we could use a tool like json-schema-to-typescript to automate the process?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions