mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
808 B
TypeScript
22 lines
808 B
TypeScript
// Type definitions for JSONStream v0.8.0
|
|
// Project: http://github.com/dominictarr/JSONStream
|
|
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference path="../node/node.d.ts" />
|
|
|
|
|
|
|
|
export interface Options {
|
|
recurse: boolean;
|
|
}
|
|
|
|
export declare function parse(pattern: any): NodeJS.ReadWriteStream;
|
|
export declare function parse(patterns: any[]): NodeJS.ReadWriteStream;
|
|
|
|
export declare function stringify(): NodeJS.ReadWriteStream;
|
|
export declare function stringify(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
|
|
|
|
export declare function stringifyObject(): NodeJS.ReadWriteStream;
|
|
export declare function stringifyObject(open: string, sep: string, close: string): NodeJS.ReadWriteStream;
|