DefinitelyTyped/types/atlassian-crowd-client/api.d.ts
mtgto dc86478557 Add a definition of atlassian-crowd-client (#26782)
* Add a definition of atlassian-crowd-client

* [atlassian-crowd-client] Fix a wrong definition.

* Add `"strictFunctionTypes": true`

* [atlassian-crowd-client] Fix a compile error.

* [atlassian-crowd-client] Use `export =` instead of `export default`.

* Use `export =` instead of `export default`

* Use `import = require`
2018-07-03 10:05:55 -07:00

11 lines
248 B
TypeScript

import { Settings } from "./settings";
declare class CrowdApi {
settings: Settings;
constructor(settings: Settings);
request(method: string, path: string, data?: any): Promise<any>;
log(...args: any[]): void;
}
export = CrowdApi;