feat(core): add tagsSplitDeduplication option for barrel + shared type extraction #1229
Annotations
4 errors
|
pr-checks (ubuntu-latest, 22.x)
Process completed with exit code 1.
|
|
[react-query-form-data-mutator] api-generation.spec.ts > API Generation Snapshots > samples/react-query/form-data-mutator/endpoints.ts:
test-utils/snapshot-testing.ts#L75
Error: Snapshot `API Generation Snapshots > samples/react-query/form-data-mutator/endpoints.ts 1` mismatched
- Expected
+ Received
@@ -24,14 +24,10 @@
PetsArray,
PetsNestedArray,
} from './models';
import { customInstance } from './custom-instance';
- type AwaitedInput<T> = PromiseLike<T> | T;
-
- type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
-
export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
export type HTTPStatusCode4xx =
| 400
@@ -70,10 +66,14 @@
| HTTPStatusCode2xx
| HTTPStatusCode3xx
| HTTPStatusCode4xx
| HTTPStatusCode5xx;
+ type AwaitedInput<T> = PromiseLike<T> | T;
+
+ type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
+
const withQueryKey = <T extends object, K>(
query: T,
queryKey: K,
): T & { queryKey: K } => {
const result = { queryKey } as T & { queryKey: K };
❯ ../../../test-utils/snapshot-testing.ts:75:9
|
|
pr-checks (windows-latest, 22.x)
The strategy configuration was canceled because "pr-checks.ubuntu-latest_22_x" failed
|
|
pr-checks (windows-latest, 22.x)
The operation was canceled.
|