chore(language-core): virtual code adjust #5808
Annotations
23 errors and 1 warning
build (18, macos-latest)
Parameter 's' implicitly has an 'any' type.
|
build (18, macos-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.
|
build (18, macos-latest)
Parameter 'e' implicitly has an 'any' type.
|
build (18, macos-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.
|
build (18, macos-latest)
Argument of type '<T>(__VLS_props: { onBar?: ((data: T) => any) | undefined; foo: T; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { ...; } | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<...>) => void) | undefined, __VLS_setup?: Promise<...>) => VNode<...> & { ...; }' is not assignable to parameter of type 'never'.
|
build (18, macos-latest)
Argument of type '<T>(__VLS_props: { a?: T | undefined; b?: T | undefined; c?: T | undefined; d: T; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { ...; } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<...>) => VNode<...> & { ...; }' is not assignable to parameter of type 'never'.
|
build (18, macos-latest)
Unused '@ts-expect-error' directive.
|
packages/component-meta/tests/index.spec.ts > vue-component-meta with tsconfig > reference-type-events for generic:
packages/component-meta/tests/index.spec.ts#L571
AssertionError: expected undefined not to be undefined
❯ packages/component-meta/tests/index.spec.ts:571:17
|
packages/component-meta/tests/index.spec.ts > vue-component-meta without tsconfig > reference-type-events for generic:
packages/component-meta/tests/index.spec.ts#L571
AssertionError: expected undefined not to be undefined
❯ packages/component-meta/tests/index.spec.ts:571:17
|
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts:
packages/tsc/tests/dts.spec.ts#L73
Error: Snapshot `vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts 1` mismatched
- Expected
+ Received
@@ -10,11 +10,11 @@
default?(data: {
foo: number;
}): any;
};
attrs: any;
- emit: (e: 'bar', data: number) => void;
+ emit: any;
}, __VLS_expose?: (exposed: import("vue").ShallowUnwrapRef<{
baz: number;
}>) => void, __VLS_setup?: Promise<{
props: {
onBar?: (data: number) => any;
@@ -31,11 +31,12 @@
}> & {
default?(data: {
foo: number;
}): any;
};
- emit: (e: 'bar', data: number) => void;
+ emit: any;
+ '__VLS_emit & typeof __VLS_modelEmitsType,': any;
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
__ctx?: {
props: {
@@ -53,11 +54,12 @@
}> & {
default?(data: {
foo: number;
}): any;
};
- emit: (e: 'bar', data: number) => void;
+ emit: any;
+ '__VLS_emit & typeof __VLS_modelEmitsType,': any;
};
};
export default _default;
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
❯ packages/tsc/tests/dts.spec.ts:73:66
|
build (18, windows-latest)
The job was canceled because "_18_macos-latest" failed.
|
build (18, windows-latest)
The operation was canceled.
|
build (18, ubuntu-latest)
The job was canceled because "_18_macos-latest" failed.
|
build (18, ubuntu-latest)
Parameter 's' implicitly has an 'any' type.
|
build (18, ubuntu-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.
|
build (18, ubuntu-latest)
Parameter 'e' implicitly has an 'any' type.
|
build (18, ubuntu-latest)
Argument of type 'any' is not assignable to parameter of type 'never'.
|
build (18, ubuntu-latest)
Argument of type '<T>(__VLS_props: { onBar?: ((data: T) => any) | undefined; foo: T; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { ...; } | undefined, __VLS_expose?: ((exposed: ShallowUnwrapRef<...>) => void) | undefined, __VLS_setup?: Promise<...>) => VNode<...> & { ...; }' is not assignable to parameter of type 'never'.
|
build (18, ubuntu-latest)
Argument of type '<T>(__VLS_props: { a?: T | undefined; b?: T | undefined; c?: T | undefined; d: T; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { ...; } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<...>) => VNode<...> & { ...; }' is not assignable to parameter of type 'never'.
|
build (18, ubuntu-latest)
Unused '@ts-expect-error' directive.
|
packages/component-meta/tests/index.spec.ts > vue-component-meta with tsconfig > reference-type-events for generic:
packages/component-meta/tests/index.spec.ts#L571
AssertionError: expected undefined not to be undefined
❯ packages/component-meta/tests/index.spec.ts:571:17
|
packages/component-meta/tests/index.spec.ts > vue-component-meta without tsconfig > reference-type-events for generic:
packages/component-meta/tests/index.spec.ts#L571
AssertionError: expected undefined not to be undefined
❯ packages/component-meta/tests/index.spec.ts:571:17
|
packages/tsc/tests/dts.spec.ts > vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts:
packages/tsc/tests/dts.spec.ts#L73
Error: Snapshot `vue-tsc-dts > Input: generic/component.vue, Output: generic/component.vue.d.ts 1` mismatched
- Expected
+ Received
@@ -10,11 +10,11 @@
default?(data: {
foo: number;
}): any;
};
attrs: any;
- emit: (e: 'bar', data: number) => void;
+ emit: any;
}, __VLS_expose?: (exposed: import("vue").ShallowUnwrapRef<{
baz: number;
}>) => void, __VLS_setup?: Promise<{
props: {
onBar?: (data: number) => any;
@@ -31,11 +31,12 @@
}> & {
default?(data: {
foo: number;
}): any;
};
- emit: (e: 'bar', data: number) => void;
+ emit: any;
+ '__VLS_emit & typeof __VLS_modelEmitsType,': any;
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
__ctx?: {
props: {
@@ -53,11 +54,12 @@
}> & {
default?(data: {
foo: number;
}): any;
};
- emit: (e: 'bar', data: number) => void;
+ emit: any;
+ '__VLS_emit & typeof __VLS_modelEmitsType,': any;
};
};
export default _default;
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
❯ packages/tsc/tests/dts.spec.ts:73:66
|
build (18, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|