DefinitelyTyped/jsonstream/JSONStream-tests.ts
Paul van Brenk 5bbd7448ae fix casing
2016-08-19 16:09:29 -07:00

15 lines
332 B
TypeScript

import json = require('jsonstream');
var read: NodeJS.ReadableStream;
var write: NodeJS.WritableStream;
read = read.pipe(json.parse('*'));
read = read.pipe(json.parse(['foo/*', 'bar/*']));
read = json.stringify();
read = json.stringify('{', ',', '}');
read = json.stringifyObject();
read = json.stringifyObject('{', ',', '}');