0.5.1 • Published 1 year ago

canvas-sketch-util-types v0.5.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

canvas-sketch-util-types

An unfinished collection of typings based on the 1.10.0 version of canvas-sketch-util.

The version of these typings will be changed to match the version of canvas-sketch-util it applies to once the typings are completed.

I exported a dump of the d.ts files and I'm trying to update them, removing all the uses of any as I use the functions and learn more about how they are used.

Also, using as a learning project to get some typings into DefinitelyTyped, which I am in huge admiration of.

To install

Choose one of the methods below, based on preference or trial and error.

Method 1 - DefinitelyTyped alias (@types)

Add an entry for "@types/canvas-sketch-util": "npm:canvas-sketch-util-types" in your package.json file and run the install with pnpm/yarn/npm.

Method 2 - Paths in tsconfig.json

pnpm install canvas-sketch-util-types
# or
yarn add canvas-sketch-util-types
# or
npm install canvas-sketch-util-types
{
  "compilerOptions": {
    "paths": {
        "canvas-sketch-util": ["./node_modules/canvas-sketch-util-types"],
        "canvas-sketch-util/*": ["./node_modules/canvas-sketch-util-types/*"]
    }
  }
}
0.5.0

1 year ago

0.4.0

1 year ago

0.5.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago