Skip to content

Commit

Permalink
fix: non-script-tag component should be any type in template
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Aug 24, 2021
1 parent 2705ddb commit db6f8ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export function useSfcEntryForTemplateLs(
else {
content += `export var __VLS_options = {};\n`;
content += `export var __VLS_name = undefined;\n`;
content += `var __VLS_component_ts = __VLS_defineComponent({});\n`;
content += `export var __VLS_component = __VLS_defineComponent({});\n`;
content += `declare var __VLS_component_ts: any;\n`;
content += `export declare var __VLS_component: any;\n`;
}
content += `declare var __VLS_ctx: __VLS_PickNotAny<InstanceType<typeof __VLS_component_ts>, ReturnType<typeof __VLS_component_ts>>;\n`;
content += `declare var __VLS_ComponentsWrap: typeof __VLS_options & { components: { } };\n`;
Expand Down

0 comments on commit db6f8ab

Please sign in to comment.