feat(language-core): typed fallthrough attributes #5580
Annotations
8 errors and 1 warning
Run pnpm run test
Type '{ $children: { activator: (props: { isActive: boolean; }) => unknown; }; }' is not assignable to type 'IntrinsicAttributes & ((Partial<{ readonly [x: number]: string; } | {}> & Omit<(readonly string[] | { readonly [x: string]: Prop<unknown, unknown> | null | undefined; }) & (VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>), never>) & __VLS_PropsChildren<...>)'.
|
Run pnpm run test
Argument of type '{}' is not assignable to parameter of type 'NonNullable<(Partial<{ readonly [x: number]: string; }> & Omit<(readonly string[] | { readonly [x: string]: Prop<unknown, unknown> | null | undefined; }) & (VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>), never> & __VLS_PropsChildren<...> & Record<...>) | (Partial<...> & ... 2 more ... & ...'.
|
Run pnpm run test
Object literal may only specify known properties, and 'bar' does not exist in type 'Partial<{ readonly [x: number]: string; } | {}> & Omit<(readonly string[] | { readonly [x: string]: Prop<unknown, unknown> | null | undefined; }) & (VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>), never>'.
|
Run pnpm run test
Argument of type 'any' is not assignable to parameter of type 'never'.
|
Run pnpm run test
Object literal may only specify known properties, and 'bar' does not exist in type 'Partial<{ readonly [x: number]: string; } | {}> & Omit<(readonly string[] | { readonly [x: string]: Prop<unknown, unknown> | null | undefined; }) & (VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>), never>'.
|
Run pnpm run test:
packages/tsc/tests/index.spec.ts#L70
Error: Exited with code 2
❯ ChildProcess.<anonymous> packages/tsc/tests/index.spec.ts:70:12
❯ ChildProcess.emit node:events:513:28
|
Run pnpm run test:
packages/tsc/tests/index.spec.ts#L70
Error: Exited with code 2
❯ ChildProcess.<anonymous> packages/tsc/tests/index.spec.ts:70:12
❯ ChildProcess.emit node:events:513:28
|
Run pnpm run test
Process completed with exit code 1.
|
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/.
|
Loading