mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Create(dts-gen): create json-stream-stringify * Define type JsonStreamStringify class * Create Test * Enable strictFunctionTypes * Fix lint Errors
13 lines
551 B
TypeScript
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];
|
|
}
|