Files
DefinitelyTyped/types/swagger-parser/index.d.ts
2017-03-24 14:27:52 -07:00

8 lines
392 B
TypeScript

// Type definitions for swagger-parser 4.x
// Project: https://www.npmjs.com/package/swagger-parser
// Definitions by: Tobias Wolff <https://github.com/Tobias4872/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(api: any, options?: any): Promise<any>;
export function parse(api: any, options: any, callback: (err: any, result?: any) => void): void;