style: fix lint code

pull/5784/head
tangjinzhou 2022-07-06 21:24:35 +08:00
parent 7473233bc9
commit 73bd25cbbe
2 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import type {
TransitionGroupProps, TransitionGroupProps,
TransitionProps, TransitionProps,
} from 'vue'; } from 'vue';
import { nextTick, Transition as T, TransitionGroup as TG } from 'vue'; import { nextTick, Transition, TransitionGroup } from 'vue';
import { tuple } from './type'; import { tuple } from './type';
const SelectPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight'); const SelectPlacements = tuple('bottomLeft', 'bottomRight', 'topLeft', 'topRight');
@ -58,9 +58,6 @@ export const getTransitionGroupProps = (transitionName: string, opt: TransitionP
return transitionProps; return transitionProps;
}; };
let Transition = T;
let TransitionGroup = TG;
export declare type MotionEvent = (TransitionEvent | AnimationEvent) & { export declare type MotionEvent = (TransitionEvent | AnimationEvent) & {
deadline?: boolean; deadline?: boolean;
}; };

View File

@ -1,3 +1,3 @@
import demoTest from '../../../tests/shared/demoTest'; import demoTest from '../../../tests/shared/demoTest';
demoTest('select'); demoTest('select', { skip: 'big-data' });