DefinitelyTyped/types/json-stream-stringify/index.d.ts
segayuu 635592e97f Create types: @types/json-stream-stringify (#35655)
* Create(dts-gen): create json-stream-stringify

* Define type JsonStreamStringify class

* Create Test

* Enable strictFunctionTypes

* Fix lint Errors
2019-05-22 09:29:10 -07:00

13 lines
551 B
TypeScript

// Type definitions for json-stream-stringify 2.0
// Project: https://github.com/Faleij/json-stream-stringify#readme
// Definitions by: Sega Yuu <https://github.com/segayuu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="node" />
import { Readable } from "stream";
export default class JsonStreamStringify extends Readable {
constructor(value: any, replacer?: ((key: any, value: any) => any) | any[], spaces?: string | number, cycle?: boolean);
path(): [string, number];
}