Commit 357134103188880322e409918ca925c60fc33734
1 parent
b7d7c4ad
some *.d.ts error
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
types/iview.components.d.ts
... | ... | @@ -53,7 +53,7 @@ export { Spin } from './spin'; |
53 | 53 | export { Steps, StepsStep } from './steps'; |
54 | 54 | export { Switch, Switch as ISwitch } from './switch'; |
55 | 55 | export { Table, TableColumn, TableRenderCreateElementData, TableColumnRenderParams, TableRenderCreateElementResult, TableColumnRenderHeadParams, TableExportCsvParams } from './table'; |
56 | -export { Tabs, TabsPane } from './tabs'; | |
56 | +export { Tabs, TabPane } from './tabs'; | |
57 | 57 | export { Tag } from './tag'; |
58 | 58 | export { Time } from './time'; |
59 | 59 | export { Timeline, TimelineItem } from './timeline'; | ... | ... |
types/modal.d.ts
... | ... | @@ -172,7 +172,7 @@ export declare interface ModalConfig { |
172 | 172 | /** |
173 | 173 | * 自定义内容,使用后不再限制类型, content 也无效。 |
174 | 174 | */ |
175 | - render?: () => void; | |
175 | + render?: (h?) => void; | |
176 | 176 | /** |
177 | 177 | * 宽度,单位 px |
178 | 178 | * @default 416 |
... | ... | @@ -220,4 +220,4 @@ declare module 'vue/types/vue' { |
220 | 220 | */ |
221 | 221 | $Modal: ModalInstance; |
222 | 222 | } |
223 | -} | |
224 | 223 | \ No newline at end of file |
224 | +} | ... | ... |