Commit 62332a0e58360bbe60a56e39562cac1c97168b15

Authored by Aresn
Committed by GitHub
2 parents b09bb66c 99ddff9a

Merge pull request #5156 from yangdan8/2.0_修正table中render函数返回类型

删除无用的导入VNode
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Affix extends Vue { 7 export declare interface Affix extends Vue {
8 /** 8 /**
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Anchor extends Vue { 7 export declare interface Anchor extends Vue {
8 /** 8 /**
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Avatar extends Vue { 7 export declare interface Avatar extends Vue {
8 /** 8 /**
types/back-top.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface BackTop extends Vue { 7 export declare interface BackTop extends Vue {
8 /** 8 /**
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Badge extends Vue { 7 export declare interface Badge extends Vue {
8 /** 8 /**
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Button extends Vue { 7 export declare interface Button extends Vue {
8 /** 8 /**
types/carousel.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Carousel extends Vue { 7 export declare interface Carousel extends Vue {
8 /** 8 /**
types/cascader.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Cascader extends Vue { 7 export declare interface Cascader extends Vue {
8 /** 8 /**
types/content.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Content extends Vue { 7 export declare interface Content extends Vue {
8 } 8 }
9 \ No newline at end of file 9 \ No newline at end of file
types/divider.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Divider extends Vue { 7 export declare interface Divider extends Vue {
8 /** 8 /**
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Footer extends Vue { 7 export declare interface Footer extends Vue {
8 } 8 }
9 \ No newline at end of file 9 \ No newline at end of file
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Header extends Vue { 7 export declare interface Header extends Vue {
8 } 8 }
9 \ No newline at end of file 9 \ No newline at end of file
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Icon extends Vue { 7 export declare interface Icon extends Vue {
8 /** 8 /**
types/input-number.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface InputNumber extends Vue { 7 export declare interface InputNumber extends Vue {
8 /** 8 /**
types/iview.components.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export { Affix } from './affix'; 7 export { Affix } from './affix';
8 export { Alert } from './alert'; 8 export { Alert } from './alert';
types/loading-bar.d.ts
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export const LoadingBar: LoadingBarClass; 7 export const LoadingBar: LoadingBarClass;
8 8
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // Project: https://github.com/iview/iview 2 // Project: https://github.com/iview/iview
3 // Definitions by: yangdan 3 // Definitions by: yangdan
4 // Definitions: https://github.com/yangdan8/iview.git 4 // Definitions: https://github.com/yangdan8/iview.git
5 -import Vue, { VNode } from 'vue'; 5 +import Vue from 'vue';
6 6
7 export declare interface Steps extends Vue { 7 export declare interface Steps extends Vue {
8 /** 8 /**