@mostfeatured/dbi 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -433,10 +433,19 @@ declare global {
433
433
  // MODULE DECLARATIONS
434
434
  // ============================================
435
435
 
436
- declare module "*.svelte" {
437
- import type { Component } from "svelte";
436
+ /**
437
+ * Generic Svelte component type (compatible with Svelte 5)
438
+ */
439
+ type SvelteComponent<Props = any, Exports = any, Bindings = any> = new (options: {
440
+ target: any;
441
+ props?: Props;
442
+ }) => {
443
+ $set?(props: Partial<Props>): void;
444
+ $on?(event: string, handler: (e: any) => void): () => void;
445
+ };
438
446
 
439
- const component: Component<any, any, any>;
447
+ declare module "*.svelte" {
448
+ const component: SvelteComponent<any, any, any>;
440
449
  export default component;
441
450
  }
442
451
 
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "tslib": "^2.6.3"
16
16
  },
17
17
  "name": "@mostfeatured/dbi",
18
- "version": "0.2.21",
18
+ "version": "0.2.22",
19
19
  "main": "dist/src/index.js",
20
20
  "types": "dist/src/index.d.ts",
21
21
  "typesVersions": {