We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80660b commit 5b5ee9fCopy full SHA for 5b5ee9f
src/registerComponent.ts
@@ -10,7 +10,9 @@ export const getComponent = (el: HTMLElement) => {
10
return name ? components[name] : undefined
11
}
12
13
-export const defineOptions = (options: SimpleComponentOptions) => options
+export const defineOptions = <Options extends SimpleComponentOptions>(
14
+ options: Options
15
+) => options
16
17
export function registerComponent<
18
Setup extends SimpleComponentSetup<Options>,
0 commit comments