Files
talk/src/types/webfinger.d.ts
T
2018-06-29 16:11:32 -06:00

17 lines
342 B
TypeScript

declare module "webfinger" {
export interface WebfingerOptions {
webfingerOnly?: boolean;
}
export interface WebfingerCallback {
(err: Error, jrd: { [key: string]: any }): void;
}
export function webfinger(
resource: string,
res: string,
options: WebfingerOptions,
callback: WebfingerCallback
): void;
}