sketch-community / sketch-types Goto Github PK
View Code? Open in Web Editor NEWSketch Typescript Types
License: MIT License
Sketch Typescript Types
License: MIT License
Under what license are these definitions published?
Btw.: Awesome work! Great to start this effort!
看起来现在类型都是手写的,手写的话首先工作量非常大,而且很难持续更新。
AppKit 的部分应该可以直接解析官方文档来生成类型(AppKit 类型感觉可以单独作为一个项目)。
Sketch 私有 API 应该可以用 https://github.com/DanielMSchmidt/objective-c-parser 从 header 文件里解析出类型信息并自动生成。
Sketch 的公开 API 也可以直接从他们文档生成 https://developer.sketch.com/reference/api
I tried to yarn add sketch-types --dev in my own project, but it came with the following error:
But when I tried to clone this project(which uses this package in devDependencies as well) and yarn install, it went well.
https://github.com/bukinoshita/sketch-json
I really don't know what's going on. Any idea on how to fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.