Skip to content

fix(types): use DOM Derivable type #3216

fix(types): use DOM Derivable type

fix(types): use DOM Derivable type #3216

Triggered via pull request April 20, 2024 06:57
Status Failure
Total duration 5m 8s
Artifacts

ci.yml

on: pull_request
Linting and type checking
1m 35s
Linting and type checking
Unit tests
1m 38s
Unit tests
Functional tests
4m 59s
Functional tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
Linting and type checking
@floating-ui/dom#typecheck: command (/home/runner/work/floating-ui/floating-ui/packages/dom) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
Linting and type checking
Argument of type '5' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type '() => number' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type '20' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type 'OffsetOptions' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type '1' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type 'number' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Argument of type 'number' is not assignable to parameter of type 'OffsetOptions | Derivable<OffsetOptions> | undefined'.
Linting and type checking
Process completed with exit code 2.
Linting and type checking
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Functional tests
No files were found with the provided path: packages/dom/test-results. No artifacts will be uploaded.
Functional tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Functional tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/