@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.
- package/dist/types/svelte-dbi.d.ts +12 -3
- package/package.json +1 -1
|
@@ -433,10 +433,19 @@ declare global {
|
|
|
433
433
|
// MODULE DECLARATIONS
|
|
434
434
|
// ============================================
|
|
435
435
|
|
|
436
|
-
|
|
437
|
-
|
|
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
|
-
|
|
447
|
+
declare module "*.svelte" {
|
|
448
|
+
const component: SvelteComponent<any, any, any>;
|
|
440
449
|
export default component;
|
|
441
450
|
}
|
|
442
451
|
|