Skip to content

Commit

Permalink
revert: "fix: non-script-tag component should be any type in template"
Browse files Browse the repository at this point in the history
This reverts commit db6f8ab.
  • Loading branch information
johnsoncodehk committed Aug 31, 2021
1 parent 0ddb68b commit fdb0373
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export function useSfcEntryForTemplateLs(
else {
content += `export var __VLS_options = {};\n`;
content += `export var __VLS_name = undefined;\n`;
content += `declare var __VLS_component_ts: any;\n`;
content += `export declare var __VLS_component: any;\n`;
content += `var __VLS_component_ts = __VLS_defineComponent({});\n`;
content += `export var __VLS_component = __VLS_defineComponent({});\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 fdb0373

Please sign in to comment.