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 }; } }