From cc16137def799a6f248e5d277eed1298b9a37152 Mon Sep 17 00:00:00 2001 From: Moein Date: Wed, 30 Sep 2020 12:32:56 +0330 Subject: [PATCH] fix: Match with latest eslint rules --- src/runtime/transition/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/transition/index.ts b/src/runtime/transition/index.ts index b7553e869e..f3daa353d3 100644 --- a/src/runtime/transition/index.ts +++ b/src/runtime/transition/index.ts @@ -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;