mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-01 10:54:34 +08:00
14 lines
458 B
TypeScript
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;
|