@gitee-code/api-type
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

gitee-code-api-type

介绍

GITTE类型定义

类型使用

  • 安装 npm i @gitee-code/api-type -D
  • 全局global.d.ts文件
  import { GITEE_TYPE } from '@gitee-code/api-type'

  declare global {
    interface Window {
      GITEE: GITEE_TYPE & { [key in string]: (...args: any[]) => any };
    }
  }

/@gitee-code/api-type/

    Package Sidebar

    Install

    npm i @gitee-code/api-type

    Weekly Downloads

    5

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    31.2 kB

    Total Files

    19

    Last publish

    Collaborators

    • javascriptggyy
    • chenqiongqiong
    • osccxy