chore: update type

This commit is contained in:
zazzaz 2020-11-26 23:26:03 +08:00
parent 4986e8f98f
commit 53dfce0903
9 changed files with 9 additions and 9 deletions

View File

@ -40,7 +40,7 @@
<script lang="ts">
import { defineComponent, computed, ref, PropType } from 'vue'
// notificationVM is an alias of vue.VNode
import type { NotificationVM } from './notification'
import type { NotificationVM } from './notification.type'
import { EVENT_CODE } from '../../utils/aria'
import { on, off } from '../../utils/dom'

View File

@ -98,7 +98,7 @@ import {
WritableComputedRef,
PropType,
} from 'vue'
import { Store, TableColumnCtx, TableHeader } from './table'
import { Store, TableColumnCtx, TableHeader } from './table.type'
export default {
name: 'ElTableFilterPanel',

View File

@ -272,7 +272,7 @@ import TableFooter from './table-footer/index'
import { debounce } from 'lodash'
import useUtils from './table/utils-helper'
import useStyle from './table/style-helper'
import { TableProps, Table } from './table'
import { TableProps, Table } from './table.type'
let tableIdSeed = 1
export default defineComponent({

View File

@ -1,6 +1,6 @@
<script lang='ts'>
import { h, defineComponent, inject, ComponentInternalInstance } from 'vue'
import { RootTreeType } from './tree.d'
import { RootTreeType } from './tree.type'
export default defineComponent({
name: 'ElTreeNodeContent',

View File

@ -84,7 +84,7 @@ import { getNodeKey as getNodeKeyUtil } from './model/util'
import { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast'
import { useDragNodeEmitter } from './model/useDragNode'
import Node from './model/node'
import { TreeOptionProps, TreeNodeData, RootTreeType } from './tree.d'
import { TreeOptionProps, TreeNodeData, RootTreeType } from './tree.type'
export default defineComponent({
name: 'ElTreeNode',

View File

@ -47,7 +47,7 @@ import {
TreeKey,
TreeData,
RootTreeType,
} from './tree.d'
} from './tree.type'
export default defineComponent({
name: 'ElTree',

View File

@ -24,7 +24,7 @@ import type {
UploadFile,
FileHandler,
FileResultHandler,
} from './upload'
} from './upload.type'
type PFileHandler<T> = PropType<FileHandler<T>>
type PFileResultHandler<T = any> = PropType<FileResultHandler<T>>

View File

@ -14,7 +14,7 @@
<script lang="ts">
import { defineComponent, ref, inject } from 'vue'
import type { ElUpload } from './upload'
import type { ElUpload } from './upload.type'
export default defineComponent({
name: 'ElUploadDrag',

View File

@ -33,7 +33,7 @@ import ajax from './ajax'
import UploadDragger from './upload-dragger.vue'
import type { PropType } from 'vue'
import type { ListType, UploadFile, ElFile } from './upload'
import type { ListType, UploadFile, ElFile } from './upload.type'
type IFileHanlder = (
file: Nullable<ElFile[]>,