Files
DefinitelyTyped/iniparser/index.d.ts
2016-04-27 21:30:22 -07:00

15 lines
437 B
TypeScript

// Type definitions for iniparser
// Project: https://github.com/shockie/node-iniparser
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export declare function parse<T>(
file: string,
callback: (err: any, data: T) => void
): void;
export declare function parseSync<T>(file: string): T;
export declare function parseString<T>(data: string): T;