mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
6
types/global.d.ts
vendored
6
types/global.d.ts
vendored
@@ -5,6 +5,7 @@ import type {
|
||||
FunctionalComponent,
|
||||
PropType as VuePropType
|
||||
} from "vue";
|
||||
import type { ECharts } from "echarts";
|
||||
|
||||
// GlobalComponents for Volar
|
||||
declare module "vue" {
|
||||
@@ -108,6 +109,11 @@ declare global {
|
||||
};
|
||||
}
|
||||
|
||||
declare interface GlobalPropertiesApi {
|
||||
$echarts: ECharts;
|
||||
$storage: ServerConfigs;
|
||||
}
|
||||
|
||||
function parseInt(s: string | number, radix?: number): number;
|
||||
|
||||
function parseFloat(string: string | number): number;
|
||||
|
||||
Reference in New Issue
Block a user