Installation
npm install --save @types/blockies
Summary
This package contains type definitions for blockies (https://github.com/goldylucks/blockies-npm).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/blockies.
index.d.ts
declare function blockies(config?: blockies.BlockiesConfig): HTMLCanvasElement;
export = blockies;
declare namespace blockies {
interface BlockiesConfig {
size?: number | undefined;
scale?: number | undefined;
seed?: string | undefined;
color?: string | undefined;
bgcolor?: string | undefined;
spotcolor?: string | undefined;
}
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none
Credits
These definitions were written by Leonid Logvinov.