mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
17 lines
342 B
TypeScript
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;
|
|
}
|