Files

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;
}
}