diff options
Diffstat (limited to 'packages/typescript-typings/types/blockies/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/blockies/index.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/typescript-typings/types/blockies/index.d.ts b/packages/typescript-typings/types/blockies/index.d.ts new file mode 100644 index 000000000..d4068e50f --- /dev/null +++ b/packages/typescript-typings/types/blockies/index.d.ts @@ -0,0 +1,11 @@ +// blockies declarations +declare interface BlockiesIcon { + toDataURL(): string; +} +declare interface BlockiesConfig { + seed: string; +} +declare function blockies(config: BlockiesConfig): BlockiesIcon; +declare module 'blockies' { + export = blockies; +} |