Refactor types out into types.ts file and use /// <reference types="...">

Fixes packaging problems.
This commit is contained in:
Ryan Gossiaux
2022-03-18 11:05:14 -07:00
parent cc27615e96
commit 5fdd47b435
34 changed files with 179 additions and 161 deletions

View File

@@ -19,8 +19,9 @@
import { get_current_component } from "svelte/internal";
import type { SupportedAs } from "$lib/internal/elements";
import type { HTMLActionArray } from "$lib/hooks/use-actions";
import Render, { type TPassThroughProps } from "$lib/utils/Render.svelte";
import Render from "$lib/utils/Render.svelte";
import { resolveButtonType } from "$lib/utils/resolve-button-type";
import type { TPassThroughProps } from "$lib/types";
/***** Props *****/
type TAsProp = $$Generic<SupportedAs>;