Files
DefinitelyTyped/types/strip-json-comments/index.d.ts
2017-08-20 15:37:53 -07:00

14 lines
458 B
TypeScript

// Type definitions for strip-json-comments
// Project: https://github.com/sindresorhus/strip-json-comments
// Definitions by: Dylan R. E. Moonfire <https://github.com/dmoonfire>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface StripJsonOptions {
whitespace?: boolean;
}
declare function stripJsonComments(input: string, opts?: StripJsonOptions): string;
declare namespace stripJsonComments { }
export = stripJsonComments;