DefinitelyTyped/types/buffer-json/buffer-json-tests.ts
Ayyan Lewis b1896394f3
Add buffer-json (#43667)
* Add buffer-json

* Create tsconfig.json

* Create buffer-json-tests.ts

* Create tslint.json

* Update buffer-json-tests.ts

* Update index.d.ts

* Update index.d.ts
2020-04-07 08:15:24 -07:00

5 lines
105 B
TypeScript

import * as BJSON from 'buffer-json';
BJSON.parse('{ foo: \'bar\' }');
BJSON.stringify({ foo: 'bar' });