mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 16:27:06 +00:00
17 lines
495 B
TypeScript
17 lines
495 B
TypeScript
// Type definitions for gravatar-url 2.0
|
|
// Project: https://github.com/sindresorhus/gravatar-url
|
|
// Definitions by: Ivan Gabriele <https://github.com/ivangabriele>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = GravatarUrl;
|
|
|
|
declare function GravatarUrl(email: string, options?: GravatarUrl.Options): string;
|
|
|
|
declare namespace GravatarUrl {
|
|
interface Options {
|
|
default?: string;
|
|
rating?: 'g' | 'pg' | 'r' | 'x';
|
|
size?: number;
|
|
}
|
|
}
|