mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
619 B
TypeScript
18 lines
619 B
TypeScript
// Type definitions for stringify-object 3.2
|
|
// Project: https://github.com/yeoman/stringify-object
|
|
// Definitions by: Chris Khoo <https://github.com/khoomeister>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
declare namespace stringifyObject { }
|
|
|
|
declare function stringifyObject(o: any, options?: {
|
|
indent?: string,
|
|
singleQuotes?: boolean,
|
|
filter?(o: any, prop: string | symbol): boolean,
|
|
inlineCharacterLimit?: number,
|
|
transform?: (val: any[] | object, i: number | string | symbol, value: string) => string,
|
|
}): string;
|
|
|
|
export = stringifyObject;
|