mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: add ample demos to @pureadmin/table (#379)
* feat: add ample demos to @pureadmin/table
This commit is contained in:
4
types/global.d.ts
vendored
4
types/global.d.ts
vendored
@@ -7,6 +7,7 @@ import type {
|
||||
} from "vue";
|
||||
import type { ECharts } from "echarts";
|
||||
import { type ResponsiveStorage } from "./index";
|
||||
import type { TableColumns } from "@pureadmin/table";
|
||||
|
||||
// GlobalComponents for Volar
|
||||
declare module "vue" {
|
||||
@@ -126,6 +127,9 @@ declare global {
|
||||
$config: ServerConfigs;
|
||||
}
|
||||
|
||||
// 继承 @pureadmin/table 的 TableColumns,方便全局直接调用
|
||||
declare interface TableColumnList extends Array<TableColumns> {}
|
||||
|
||||
function parseInt(s: string | number, radix?: number): number;
|
||||
|
||||
function parseFloat(string: string | number): number;
|
||||
|
||||
Reference in New Issue
Block a user