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

1.3.0 • Public • Published

mini-pc-types

npm package GitHub stars GitHub forks NPM downloads GitHub issues

阿里 PC 端小程序 TypeScript 声明文件。

因为对于开发 pc 端小程序,mini-types中存在一些多余的 API,或缺少一些 qn 的 API 类型,所以需要一套 PC 端的 typescript 类型

mini-pc-types只包含 PC 端小程序需要的 TypeScript 的类型

淘宝 PC 端 API 文档

1.0.3

  • 增加 pc 端所有组件的事件类型

安装

npm install mini-pc-types --save

使用

tsconfig.json 文件中指定 types 配置。

{
  "compilerOptions": {
    "types": ["mini-pc-types"]
  }
}

贡献

如果你有好的意见或建议,欢迎提 issue

Package Sidebar

Install

npm i mini-pc-types

Weekly Downloads

25

Version

1.3.0

License

MIT

Unpacked Size

86 kB

Total Files

61

Last publish

Collaborators

  • noshower