加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.d.ts 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
import { SfcUtils } from 'sfc-common/utils/SfcUtils'
import { defineComponent, ToRefs } from 'vue'
import { AppContext } from 'sfc-common/core/context/type'
import * as Vue from 'vue'
import { App } from 'vue'
import SfcUtils from 'sfc-common/utils/SfcUtils'
import API from 'sfc-common/api'
import DPlayer from 'dplayer'
import { BootContext } from 'sfc-common/model'
import * as FormUtils from 'sfc-common/utils/FormUtils'
import * as components from 'sfc-common/components'
import DOMUtils from 'sfc-common/utils/DOMUtils'
import * as MethodInterceptor from 'sfc-common/utils/MethodInterceptor'
import { StringFormatter } from 'sfc-common/utils/StringFormatter'
import { StringUtils } from 'sfc-common/utils/StringFormatter'
import * as SfcCommon from 'sfc-common'
import * as echarts from 'echarts'
declare global {
interface Window {
context: ToRefs<AppContext>
Vue: typeof Vue,
SfcUtils: typeof SfcUtils,
API: typeof API,
DPlayer: typeof DPlayer
app: App<Element>,
bootContext: BootContext,
FormUtils: typeof FormUtils
components: typeof components,
DOMUtils: typeof DOMUtils,
MethodInterceptor: typeof MethodInterceptor,
StringFormatter: typeof StringFormatter,
StringUtils: typeof StringUtils,
SfcCommon: typeof SfcCommon,
echarts: typeof echarts
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化