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;