mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
* Added types for blobshape * Update the tydpees for the parameters in blobshape * Fixed tests & types for blobshape
19 lines
506 B
TypeScript
19 lines
506 B
TypeScript
// Type definitions for blobshape 1.0
|
|
// Project: https://github.com/lokesh-coder/blobshape#readme
|
|
// Definitions by: OyewoleOyedeji <https://github.com/OyewoleOyedeji>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface BlobshapeParameters {
|
|
size?: number;
|
|
growth?: number;
|
|
edges?: number;
|
|
seed?: string | null;
|
|
}
|
|
|
|
declare function blobshape({ size, growth, edges, seed }?: BlobshapeParameters): {
|
|
path: string;
|
|
seedValue: number;
|
|
};
|
|
|
|
export = blobshape;
|