UNPKG

maketypes

Version:

Make TypeScript types and proxy objects from example JSON objects. Can use proxy objects to dynamically type check JSON at runtime.

11 lines (10 loc) 364 B
/** * Library entry point. Exports public-facing interfaces. */ import Writer from './writer'; import CbWriter from './cb_writer'; import NopWriter from './nop_writer'; import StreamWriter from './stream_writer'; import * as Types from './types'; import { default as Emitter } from './emit'; export { Writer, CbWriter, NopWriter, StreamWriter, Types, Emitter };