mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
22 lines
546 B
TypeScript
22 lines
546 B
TypeScript
// Type definitions for gravatar v1.4.0
|
|
// Project: https://github.com/emerleite/node-gravatar
|
|
// Definitions by: Denis Sokolov <https://github.com/denis-sokolov>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace GravatarModule {
|
|
type Options = {
|
|
d?: string
|
|
default?: string
|
|
f?: string
|
|
forcedefault?: string
|
|
r?: string
|
|
rating?: string
|
|
s?: string
|
|
size?: string
|
|
}
|
|
|
|
function url(email: string, options?: Options, forceProtocol?: boolean): string;
|
|
}
|
|
|
|
export = GravatarModule;
|