Skip to content

Commit

Permalink
fix(runtime-dom): add config param to defineCustomElement overload
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuletik committed Jan 18, 2022
1 parent 59aa2e5 commit 947630a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/runtime-dom/src/apiCustomElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,12 @@ export function defineCustomElement<

// overload 5: defining a custom element from the returned value of
// `defineComponent`
export function defineCustomElement(options: {
new (...args: any[]): ComponentPublicInstance
}): VueElementConstructor
export function defineCustomElement(
options: {
new (...args: any[]): ComponentPublicInstance
},
config?: DefineCustomElementConfig
): VueElementConstructor

export function defineCustomElement(
options: any,
Expand Down

0 comments on commit 947630a

Please sign in to comment.