mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* adding swagger-parser declarations and tests * adding noImplicitThis option * adding changes based on feedback from Andy * using overloads; fixing tests
8 lines
392 B
TypeScript
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;
|