@graphql-markdown/types
v1.16.1
Published
Common types for @graphql-markdown packages
Maintainers
Readme
@graphql-markdown/types
Shared TypeScript type definitions used across the @graphql-markdown packages (cli, core, graphql, helpers, logger, printer-legacy, utils, and the events and formatter contracts). This is a types-only package with no runtime code, useful when building custom formatters, decorators, or event handlers that need to type-check against the internal contracts.
Installation
npm install --save-dev @graphql-markdown/typesUsage
import type { PrintTypeOptions, GraphQLSchema } from "@graphql-markdown/types";
const printType = (schema: GraphQLSchema, options: PrintTypeOptions) => {
// ...
};Documentation
License
GraphQL-Markdown packages are 100% free and open-source, under the MIT license.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest, you'll be creating employment for local families and restoring wildlife habitats.
