mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
// Type definitions for blockies 0.0
|
|
// Project: https://github.com/goldylucks/blockies-npm
|
|
// Definitions by: Leonid Logvinov <https://github.com/LogvinovLeon>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface BlockiesIcon {
|
|
toDataURL(): string;
|
|
}
|
|
interface BlockiesConfig {
|
|
seed: string;
|
|
}
|
|
declare function blockies(config: BlockiesConfig): BlockiesIcon;
|
|
|
|
export = blockies;
|