fix: Match with latest eslint rules

pull/5466/head
Moein 5 years ago
parent 024c0d4b3d
commit cc16137def

@ -3,7 +3,7 @@ import { assign, is_function } from 'svelte/internal';
type EasingFunction = (t: number) => number;
type SlideDirections = "vertical" | "horizontal"
type SlideDirections = 'vertical' | 'horizontal'
export interface TransitionConfig {
delay?: number;
@ -107,7 +107,7 @@ export function slide(node: Element, {
delay = 0,
duration = 400,
easing = cubicOut,
direction = "vertical"
direction = 'vertical'
}: SlideParams): TransitionConfig {
const style = getComputedStyle(node);
const opacity = +style.opacity;

Loading…
Cancel
Save