Skip to content

Commit

Permalink
fix: don't report unknown tag error without strictTemplates enabled
Browse files Browse the repository at this point in the history
close #2255
  • Loading branch information
johnsoncodehk committed Dec 26, 2022
1 parent 697b22a commit b087187
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -106,7 +106,7 @@ export type GetComponents<Components, N1, N2 = unknown, N3 = unknown> =
N1 extends keyof Components ? Components[N1] :
N2 extends keyof Components ? Components[N2] :
N3 extends keyof Components ? Components[N3] :
unknown;
${vueCompilerOptions.strictTemplates ? 'unknown' : 'any'};
export type ComponentProps<T> =
${vueCompilerOptions.strictTemplates ? '' : 'Record<string, unknown> &'}
(
Expand Down

0 comments on commit b087187

Please sign in to comment.