Skip to content

Commit 6ded03a

Browse files
aki77karol-f
authored andcommittedDec 4, 2019
fix: Add beforeCreateVueInstance property
1 parent d803a29 commit 6ded03a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎index.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ declare namespace VueCustomElement {
1414
connectedCallback?: () => void;
1515
disconnectedCallback?: () => void;
1616
attributeChangedCallback?: (name: string, oldValue: any, value: any) => void;
17+
beforeCreateVueInstance?: (rootElement: ComponentOptions<Vue>) => ComponentOptions<Vue>;
1718
destroyTimeout?: number;
1819
props?: ComponentOptions<Vue>['props'];
1920
shadow?: boolean;
@@ -27,6 +28,6 @@ declare module 'vue/types/vue' {
2728
customElement(tag: string, singleFileComponent: VueConstructor<Vue>, options?: VueCustomElement.options): void;
2829
customElement(tag: string, asyncComponentDefinition: () => Promise<ComponentOptions<Vue>>, options?: VueCustomElement.options): void;
2930
}
30-
}
3131

32-
export default VueCustomElement
32+
}
33+
export default VueCustomElement

0 commit comments

Comments
 (0)
Please sign in to comment.