You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GCSGUI/src/global.d.ts

22 lines
451 B
TypeScript

/*
* @Author: cbwu 504-wuchengbo@htsdfp.com
* @Date: 2024-03-07 13:57:05
* @LastEditors: cbwu
* @LastEditTime: 2024-04-10 15:47:36
* @Description:
*/
// import * as Cesium from 'cesium'
import type { Cesium, Viewer } from 'cesium'
// 扩展全局变量
declare global {
// 定义全局Cesium类型
// const Cesium: Cesium
// 允许扩展 Window
interface Window {
Cesium: Cesium
CESIUM_BASE_URL: string
viewer: Viewer
}
}