Skip to content

Update variant type tests to match desired behavior #186

Update variant type tests to match desired behavior

Update variant type tests to match desired behavior #186

Triggered via push February 9, 2024 15:43
Status Failure
Total duration 39s
Artifacts

test.yml

on: push
test-package
31s
test-package
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
test-package: type-tests/types-reflect.tsx#L126
Type '{ value: string; color: "red"; }' is not assignable to type 'IntrinsicAttributes & Omit<{ value: string; onChange: (newValue: string) => void; color: "red"; }, "value" | "onChange">'.
test-package: type-tests/types-variant.tsx#L246
Type '{ slot: Element; name: string; }' is not assignable to type 'IntrinsicAttributes & Omit<Omit<{ name: string; slot: ReactNode; }, "name">, never>'.
test-package
Process completed with exit code 1.
test-package
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.