declarations
Version:
[](https://www.npmjs.com/package/declarations)
16 lines (12 loc) • 443 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
declare module "iniparser" {
export function parse<T>(
file: string,
callback: (err: any, data: T) => void
): void;
export function parseSync<T>(file: string): T;
export function parseString<T>(data: string): T;
}