test(tsc): add tests for #3779, #3820 #5853
Annotations
11 errors
|
Run pnpm run test
'props' is declared but its value is never read.
|
Run pnpm run test
Argument of type 'boolean | undefined' is not assignable to parameter of type 'never'.
|
Run pnpm run test
Property 'name' does not exist on type 'unknown extends T ? IfAny<T, T, unknown> : T'.
|
Run pnpm run test
Property 'modelValue' does not exist on type '{ readonly num: number; readonly "onUpdate:modelValue"?: ((modelValue: T) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>'.
|
Run pnpm run test
'props' is declared but its value is never read.
|
Run pnpm run test
Argument of type 'boolean | undefined' is not assignable to parameter of type 'never'.
|
Run pnpm run test
Argument of type 'DefineComponent<{ foo: string; bar?: number | undefined; }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (id: number) => void; update: (value: string) => void; }, ... 9 more ..., false>' is not assignable to parameter of type 'never'.
|
Run pnpm run test
Argument of type 'DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<...>, ... 6 more ..., false>' is not assignable to parameter of type 'never'.
|
Run pnpm run test
Argument of type '<T>(__VLS_props: { readonly 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'.
|
Run pnpm run test
Unused '@ts-expect-error' directive.
|
Loading