UNPKG

maketypes

Version:

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

9 lines (8 loc) 167 B
import Writer from './writer'; /** * Does nothing. */ export default class NopWriter extends Writer { write(s: string): this; close(cb: () => void): void; }