UNPKG

core-types

Version:

Generic type declarations for e.g. TypeScript, GraphQL and JSON Schema

9 lines (8 loc) 788 B
export * from './lib/types.js'; export { simplify } from './lib/simplify.js'; export { validate } from './lib/validate.js'; export { ensureArray, hasConstEnum, intersection, isEqual, isNonNullable, isPrimitiveType, union, } from './lib/util.js'; export { extractAnnotations, formatDefault, formatExamples, formatSee, mergeAnnotations, stringify, stringifyAnnotations, stripAnnotations, } from './lib/annotation.js'; export { decorateError, decorateErrorMeta, isCoreTypesError, MalformedTypeError, MissingReferenceError, RelatedError, throwRelatedError, throwUnsupportedError, UnsupportedError, } from './lib/error.js'; export { getPositionOffset, locationToLineColumn, mergeLocations, positionToLineColumn, } from './lib/location.js'; export { some, traverse, } from './lib/traverse.js';