DefinitelyTyped/types/stringify-object/index.d.ts
2018-01-29 11:58:06 -08:00

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;