sketch-typings

Community built set of typescript declarations for writing Sketch plugins.

Usage no npm install needed!

<script type="module">
  import sketchTypings from 'https://cdn.skypack.dev/sketch-typings';
</script>

README

Sketch-Typings

NPM version NPM version NPM downloads install size

david deps david devDeps


Community built set of typescript declarations for writing Sketch plugins.

Usage

First, install sketch-typings

$ npm i sketch-typings -D

or

$ yarn add sketch-typings -D

Then you need to add the typings directory to your tsconfig.json using the types option:

{
  "compilerOptions": {
    // ...
    "types": ["sketch-typings"]
  }
}

More types about sketch or macOS

if you just want sketch internal types or cocoascript types, please check:

License

MIT