From b692c9671f06ed0338e264fb0a62906e81d21485 Mon Sep 17 00:00:00 2001 From: Jake Go Date: Mon, 13 Apr 2026 15:47:57 -0400 Subject: [PATCH] svelte types fix fixes svelte typescript issue with TextMorph type not passing through from build --- packages/torph/src/svelte/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/torph/src/svelte/types.ts b/packages/torph/src/svelte/types.ts index 8029629..03976a0 100644 --- a/packages/torph/src/svelte/types.ts +++ b/packages/torph/src/svelte/types.ts @@ -1,3 +1,4 @@ +import type { Component } from "svelte"; import type { TextMorphOptions } from "../lib/text-morph/types"; export interface TextMorphProps extends Omit { @@ -6,3 +7,5 @@ export interface TextMorphProps extends Omit { style?: string; as?: string; } + +export declare const TextMorph: Component;