Fix duplicate types #43
tests.yml
on: push
Check for changes
8s
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: Test against dist
Matrix: test-published-artifact
Matrix: test-type-portability
Matrix: test-types
Annotations
98 errors
Test Types: TS 5.3
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.3
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.3
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.3
No overload matches this call.
|
Test Types: TS 5.3
This expression is not callable.
|
Test Types: TS 5.3
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.3
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.3
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.3
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 5.3
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 4.9
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 4.9
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 4.9
Property 'data' does not exist on type 'never'.
|
Test Types: TS 4.9
No overload matches this call.
|
Test Types: TS 4.9
This expression is not callable.
|
Test Types: TS 4.9
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.9
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 4.9
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.9
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 4.9
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 5.5
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.5
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.5
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.5
No overload matches this call.
|
Test Types: TS 5.5
This expression is not callable.
|
Test Types: TS 5.5
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.5
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.5
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.5
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 5.5
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.4
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.4
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.4
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.4
No overload matches this call.
|
Test Types: TS 5.4
This expression is not callable.
|
Test Types: TS 5.4
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.4
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.4
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.4
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 5.4
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 5.2
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.2
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.2
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.2
No overload matches this call.
|
Test Types: TS 5.2
This expression is not callable.
|
Test Types: TS 5.2
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.2
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.2
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.2
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 5.2
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 5.1
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.1
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.1
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.1
No overload matches this call.
|
Test Types: TS 5.1
This expression is not callable.
|
Test Types: TS 5.1
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.1
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.1
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.1
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 5.1
Property 'pageParams' does not exist on type 'never'.
|
Unhandled error:
packages/toolkit/src/query/tests/buildHooks.test.tsx#L832
TypeCheckError: This expression is not callable. Type 'never' has no call signatures.
❯ src/query/tests/buildHooks.test.tsx:832:27
|
Unhandled error:
packages/toolkit/src/query/tests/buildHooks.test.tsx#L841
TypeCheckError: Property 'pages' does not exist on type 'never'.
❯ src/query/tests/buildHooks.test.tsx:841:22
|
src/query/tests/infiniteQueries.test-d.ts > Infinite queries > Basic infinite query behavior:
packages/toolkit/src/query/tests/infiniteQueries.test-d.ts#L95
TypeCheckError: Property 'pages' does not exist on type 'never'.
❯ src/query/tests/infiniteQueries.test-d.ts:95:27
|
src/query/tests/infiniteQueries.test-d.ts > Infinite queries > Basic infinite query behavior:
packages/toolkit/src/query/tests/infiniteQueries.test-d.ts#L96
TypeCheckError: Property 'pageParams' does not exist on type 'never'.
❯ src/query/tests/infiniteQueries.test-d.ts:96:27
|
src/query/tests/infiniteQueries.test-d.ts > Infinite queries > Basic infinite query behavior:
packages/toolkit/src/query/tests/infiniteQueries.test-d.ts#L100
TypeCheckError: Property 'pages' does not exist on type 'never'.
❯ src/query/tests/infiniteQueries.test-d.ts:100:34
|
src/query/tests/infiniteQueries.test-d.ts > Infinite queries > Basic infinite query behavior:
packages/toolkit/src/query/tests/infiniteQueries.test-d.ts#L101
TypeCheckError: Property 'pageParams' does not exist on type 'never'.
❯ src/query/tests/infiniteQueries.test-d.ts:101:34
|
src/query/tests/infiniteQueries.test-d.ts > Infinite queries > Basic infinite query behavior:
packages/toolkit/src/query/tests/infiniteQueries.test-d.ts#L105
TypeCheckError: This expression is not callable. Type 'never' has no call signatures.
❯ src/query/tests/infiniteQueries.test-d.ts:105:27
|
Test against dist (20.x)
Process completed with exit code 1.
|
Test Types: TS 5.0
Property 'endpointName' does not exist on type 'never'.
|
Test Types: TS 5.0
Property 'originalArgs' does not exist on type 'never'.
|
Test Types: TS 5.0
Property 'data' does not exist on type 'never'.
|
Test Types: TS 5.0
No overload matches this call.
|
Test Types: TS 5.0
This expression is not callable.
|
Test Types: TS 5.0
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.0
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 5.0
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 5.0
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 5.0
Property 'pageParams' does not exist on type 'never'.
|
Test Types: TS 4.7
'param' is referenced directly or indirectly in its own type annotation.
|
Test Types: TS 4.7
Property 'param' does not exist on type 'never'.
|
Test Types: TS 4.7
Property 'direction' does not exist on type 'never'.
|
Test Types: TS 4.7
Conversion of type '{ data: InfiniteData<unknown, unknown> | undefined; currentData: InfiniteData<unknown, unknown> | undefined; isFetching: boolean; isLoading: boolean; isSuccess: boolean; isFetchingNextPage: boolean; ... 13 more ...; isError: false; } | { ...; } | { ...; } | { ...; }' to type '{ [x: string]: never; [x: number]: never; [x: symbol]: never; isUninitialized: true; } & { status: QueryStatus; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Test Types: TS 4.7
Type 'QueryStateSelector<any, any> | undefined' is not assignable to type 'InfiniteQueryStateSelector<R, any> | undefined'.
|
Test Types: TS 4.7
This expression is not callable.
|
Test Types: TS 4.7
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.7
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 4.7
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.7
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Test Types: TS 4.8
'param' is referenced directly or indirectly in its own type annotation.
|
Test Types: TS 4.8
Property 'param' does not exist on type 'never'.
|
Test Types: TS 4.8
Property 'direction' does not exist on type 'never'.
|
Test Types: TS 4.8
Conversion of type '{ data: InfiniteData<unknown, unknown> | undefined; currentData: InfiniteData<unknown, unknown> | undefined; isFetching: boolean; isLoading: boolean; isSuccess: boolean; isFetchingNextPage: boolean; ... 13 more ...; isError: false; } | { ...; } | { ...; } | { ...; }' to type '{ [x: string]: never; [x: number]: never; [x: symbol]: never; isUninitialized: true; } & { status: QueryStatus; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Test Types: TS 4.8
Type 'QueryStateSelector<any, any> | undefined' is not assignable to type 'InfiniteQueryStateSelector<R, any> | undefined'.
|
Test Types: TS 4.8
This expression is not callable.
|
Test Types: TS 4.8
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.8
Type 'InfiniteData<Pokemon[], number> | undefined' does not satisfy the constraint '"Expected: undefined, Actual: never" | "Expected: ..., Actual: never"'.
|
Test Types: TS 4.8
Property 'pages' does not exist on type 'never'.
|
Test Types: TS 4.8
Type 'Pokemon[][]' does not satisfy the constraint 'never'.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
package
|
1.21 MB |
|