From f28594348e4118167f691553973ff878de9ba660 Mon Sep 17 00:00:00 2001 From: natxocc Date: Wed, 29 Apr 2026 22:45:47 +0200 Subject: [PATCH] update ts --- package.json | 2 +- sigpro.d.ts | 38 -------------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/package.json b/package.json index 2d36a1d..a7d3b88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sigpro", - "version": "1.2.26", + "version": "1.2.28", "type": "module", "license": "MIT", "author": { diff --git a/sigpro.d.ts b/sigpro.d.ts index e80ea02..7183644 100644 --- a/sigpro.d.ts +++ b/sigpro.d.ts @@ -118,24 +118,6 @@ export function each( keyField?: keyof T ): HTMLElement; -/** - * Simple animation helper for enter transitions. - * - * @param options - Animation settings - * @param child - Node or function returning node - * @returns The animated node - */ -export function fx( - options: { - name?: string; - duration?: number; - scale?: boolean; - slide?: boolean; - rotate?: boolean; - blur?: boolean; - }, - child: Node | (() => Node) -): Node; // ============================================================================ // Router @@ -168,22 +150,6 @@ export namespace router { export function path(): string; } -// ============================================================================ -// HTTP Requests -// ============================================================================ - -export function req(config: { - url: string; - method?: string; - headers?: Record; -}): { - run: (body?: any) => Promise; - abort: () => void; - loading: Signal; - error: Signal; - data: Signal; -}; - // ============================================================================ // Mount API // ============================================================================ @@ -315,9 +281,7 @@ declare const SigPro: { h: typeof h; when: typeof when; each: typeof each; - fx: typeof fx; router: typeof router; - req: typeof req; mount: typeof mount; batch: typeof batch; }; @@ -336,9 +300,7 @@ declare global { h: typeof h; when: typeof when; each: typeof each; - fx: typeof fx; router: typeof router; - req: typeof req; mount: typeof mount; batch: typeof batch; SigPro: typeof SigPro;