feat(language-core): type support of slot children #5137
Annotations
10 errors
Run pnpm run test
';' expected.",
|
Run pnpm run test
';' expected.",
|
Run pnpm run test
Unused '@ts-expect-error' directive.",
|
Run pnpm run test
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
|
Run pnpm run test
Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
|
Run pnpm run test
Unused '@ts-expect-error' directive.",
|
Run pnpm run test
Unused '@ts-expect-error' directive.",
|
Run pnpm run test
Unused '@ts-expect-error' directive.",
|
Run pnpm run test
Type 'VNode<RendererNode, RendererElement, { [key: string]: any; }> & { __ctx?: { props: { foo: "c"; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; expose(exposed: ShallowUnwrapRef<...>): void; attrs: any; slots: {}; emit: {}; } | undefined; }' is not assignable to type 'HTMLAnchorElement | (VNode<RendererNode, RendererElement, { [key: string]: any; }> & { __ctx?: { props: { foo: "a" | "b"; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; expose(exposed: ShallowUnwrapRef<...>): void; attrs: any; slots: {}; emit: {}; } | undefined; })'.
|
Run pnpm run test
Type 'VNode<RendererNode, RendererElement, { [key: string]: any; }> & { __ctx?: { props: { foo: "c"; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; expose(exposed: ShallowUnwrapRef<...>): void; attrs: any; slots: {}; emit: {}; } | undefined; }' is not assignable to type 'HTMLAnchorElement | (VNode<RendererNode, RendererElement, { [key: string]: any; }> & { __ctx?: { props: { foo: "a" | "b"; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; expose(exposed: ShallowUnwrapRef<...>): void; attrs: any; slots: {}; emit: {}; } | undefined; })'.
|
Loading