Skip to content

Add tree-related types #1687

Add tree-related types

Add tree-related types #1687

Triggered via pull request October 29, 2024 00:20
Status Failure
Total duration 6m 54s
Artifacts

ci.yaml

on: pull_request
Matrix: build
Matrix: lint
Matrix: smoke-test
Matrix: unit-test
check-lockfile
24s
check-lockfile
publish
0s
publish
rebuild-docker-image
0s
rebuild-docker-image
Fit to window
Zoom out
Zoom in

Annotations

10 errors
type-check: src/components/tree/phyloTree/change.ts#L183
The 'this' context of type 'PhyloTree<Layout>' is not assignable to method's 'this' of type 'PhyloTree<"clock">'.
type-check: src/components/tree/phyloTree/change.ts#L241
The 'this' context of type 'PhyloTree<Layout>' is not assignable to method's 'this' of type 'PhyloTree<"clock">'.
type-check: src/components/tree/phyloTree/helpers.ts#L189
The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
type-check: src/components/tree/phyloTree/layouts.ts#L452
Argument of type 'number' is not assignable to parameter of type '{ valueOf(): number; } & string'.
type-check: src/components/tree/phyloTree/layouts.ts#L453
Argument of type 'number' is not assignable to parameter of type 'string & { valueOf(): number; }'.
type-check: src/components/tree/phyloTree/layouts.ts#L454
Argument of type 'number' is not assignable to parameter of type '{ valueOf(): number; } & string'.
type-check: src/components/tree/phyloTree/layouts.ts#L455
Argument of type 'number' is not assignable to parameter of type 'string & { valueOf(): number; }'.
type-check: src/components/tree/phyloTree/layouts.ts#L473
Argument of type 'number' is not assignable to parameter of type '{ valueOf(): number; } & string'.
type-check: src/components/tree/phyloTree/layouts.ts#L474
Argument of type 'number' is not assignable to parameter of type 'string & { valueOf(): number; }'.
type-check: src/components/tree/phyloTree/layouts.ts#L498
Argument of type 'number' is not assignable to parameter of type 'string & { valueOf(): number; }'.