sketch-types
TypeScript icon, indicating that this package has built-in type declarations

1.4.5 • Public • Published

Notice: previous sketch-typings now rename to sketch-types for unify the types format

Sketch Types

NPM version NPM downloads install size


Community built set of typescript declarations for writing Sketch plugins.

Usage

First, install sketch-types

npm i sketch-types -D

or

pnpm i sketch-types -D

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

{
  "compilerOptions": {
    // ...
    "types": ["sketch-types", "cocoascript-types", "sketch-internal-types"]
  }
}

More types about sketch or macOS

If you just want sketch internal types or cocoascript types, please check these repo by yesmeck:

License

MIT

/sketch-types/

    Package Sidebar

    Install

    npm i sketch-types

    Weekly Downloads

    590

    Version

    1.4.5

    License

    MIT

    Unpacked Size

    102 kB

    Total Files

    43

    Last publish

    Collaborators

    • arvinxx