README
Notice: previous sketch-typings
now rename to sketch-types
for unify the types format
Sketch Types
Community built set of typescript declarations for writing Sketch plugins.
Usage
First, install sketch-types
npm i sketch-types -D
or
yarn add 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: