mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
24 lines
588 B
TypeScript
24 lines
588 B
TypeScript
// Type definitions for gravatar v1.8.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
|
|
format?: string
|
|
protocol?: string
|
|
r?: string
|
|
rating?: string
|
|
s?: string
|
|
size?: string
|
|
}
|
|
|
|
function url(email: string, options?: Options, forceProtocol?: boolean): string;
|
|
}
|
|
|
|
export = GravatarModule;
|