Skip to content

Commit

Permalink
(fix) relax type for __sveltets_componentType
Browse files Browse the repository at this point in the history
We don't know the exact typings, so allow anything instead of nothing
  • Loading branch information
dummdidumm committed Aug 7, 2020
1 parent 7a732e7 commit 156b780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte2tsx/svelte-shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ declare function __sveltets_with_any<Props = {}, Events = {}, Slots = {}>(
declare function __sveltets_store_get<T = any>(store: SvelteStore<T>): T
declare function __sveltets_any(dummy: any): any;
declare function __sveltets_empty(dummy: any): {};
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent>
declare function __sveltets_componentType(): AConstructorTypeOf<Svelte2TsxComponent<any, any, any, false>>
declare function __sveltets_invalidate<T>(getValue: () => T): T
declare function __sveltets_eventDef<T extends SvelteEventRecord>(def: T): SvelteOnAllEvent<T>
declare function __sveltets_mapWindowEvent<K extends keyof HTMLBodyElementEventMap>(
Expand Down

0 comments on commit 156b780

Please sign in to comment.