[improvement] organize type definitions

This commit is contained in:
陈嘉涵
2019-05-13 19:07:04 +08:00
parent 96b1d8f81d
commit 7755b1738e
40 changed files with 111 additions and 121 deletions

View File

@@ -4,7 +4,7 @@ import Button from '../../button';
// Types
import Vue, { CreateElement, RenderContext } from 'vue/types';
import { DefaultSlots } from '../../utils/use/sfc';
import { DefaultSlots } from '../../utils/types';
export type SkuActionsProps = {
buyText?: string;

View File

@@ -4,7 +4,7 @@ import Icon from '../../icon';
// Types
import Vue, { CreateElement, RenderContext } from 'vue/types';
import { DefaultSlots } from '../../utils/use/sfc';
import { DefaultSlots } from '../../utils/types';
import { SkuData, SkuGoodsData, SelectedSkuData } from '../type';
export type SkuHeaderProps = {

View File

@@ -3,7 +3,7 @@ import { inherit } from '../../utils/functional';
// Types
import { CreateElement, RenderContext } from 'vue/types';
import { DefaultSlots } from '../../utils/use/sfc';
import { DefaultSlots } from '../../utils/types';
import { SkuTreeItemData } from '../type';
export type SkuRowProps = {