From 80526741cda3a766407e2db3bf219faa14491be4 Mon Sep 17 00:00:00 2001 From: AdrianGonz97 <31664583+AdrianGonz97@users.noreply.github.com> Date: Thu, 7 Mar 2024 20:13:56 -0500 Subject: [PATCH] format --- apps/playground-ts/tsconfig.json | 4 ++-- .../src/lib/registry/default/ui/carousel/context.ts | 11 ++++++----- .../src/lib/registry/new-york/ui/carousel/context.ts | 11 ++++++----- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/apps/playground-ts/tsconfig.json b/apps/playground-ts/tsconfig.json index c1493e89b..82081abc3 100644 --- a/apps/playground-ts/tsconfig.json +++ b/apps/playground-ts/tsconfig.json @@ -9,8 +9,8 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "moduleResolution": "bundler", - }, + "moduleResolution": "bundler" + } // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias // // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes diff --git a/apps/www/src/lib/registry/default/ui/carousel/context.ts b/apps/www/src/lib/registry/default/ui/carousel/context.ts index ed4fedc6a..4cc7a96a7 100644 --- a/apps/www/src/lib/registry/default/ui/carousel/context.ts +++ b/apps/www/src/lib/registry/default/ui/carousel/context.ts @@ -4,11 +4,12 @@ import { getContext, hasContext, setContext } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; import type { Writable, Readable } from "svelte/store"; -export type CarouselAPI = NonNullable< - NonNullable["on:emblaInit"] -> extends (evt: CustomEvent) => void - ? CarouselAPI - : never; +export type CarouselAPI = + NonNullable["on:emblaInit"]> extends ( + evt: CustomEvent + ) => void + ? CarouselAPI + : never; type EmblaCarouselConfig = NonNullable[1]>; diff --git a/apps/www/src/lib/registry/new-york/ui/carousel/context.ts b/apps/www/src/lib/registry/new-york/ui/carousel/context.ts index ed4fedc6a..4cc7a96a7 100644 --- a/apps/www/src/lib/registry/new-york/ui/carousel/context.ts +++ b/apps/www/src/lib/registry/new-york/ui/carousel/context.ts @@ -4,11 +4,12 @@ import { getContext, hasContext, setContext } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; import type { Writable, Readable } from "svelte/store"; -export type CarouselAPI = NonNullable< - NonNullable["on:emblaInit"] -> extends (evt: CustomEvent) => void - ? CarouselAPI - : never; +export type CarouselAPI = + NonNullable["on:emblaInit"]> extends ( + evt: CustomEvent + ) => void + ? CarouselAPI + : never; type EmblaCarouselConfig = NonNullable[1]>;