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 c2a690a commit be80fe5Copy full SHA for be80fe5
src/mountComponent.ts
@@ -14,7 +14,7 @@ const mountChildComponents = (el: HTMLElement) => {
14
/** Mount a single component */
15
export const mountComponent = (el: HTMLElement, isChild = false) => {
16
const component = getComponent(el)
17
- const isInitialized = !!(el as SimpleElement).$component
+ const isInitialized = !!(el as SimpleElement<any>).$component
18
19
if (!isInitialized && component) {
20
const simpleEl = el as SimpleElement<typeof component>
0 commit comments