diff --git a/playground/tests/types.spec.ts b/playground/tests/types.spec.ts index 5da78f3..2602674 100644 --- a/playground/tests/types.spec.ts +++ b/playground/tests/types.spec.ts @@ -71,7 +71,7 @@ describe('$[client]', async () => { it('has correct return type', () => async () => { const data = await $pets('/pet/{petId}') - expectTypeOf(data).toMatchTypeOf() + expectTypeOf(data).toExtend() }) it('returns correct type based on accept header', () => async () => { @@ -139,7 +139,7 @@ describe('use[Client]', async () => { immediate: false, }) - expectTypeOf(data).toMatchTypeOf>() + expectTypeOf(data).toExtend>() }) it('has correct "transform" input parameter type', () => () => { @@ -162,9 +162,7 @@ describe('use[Client]', async () => { immediate: false, }) - expectTypeOf(data).toMatchTypeOf>() + expectTypeOf(data).toExtend>() }) it('has correct reponse type using "default"', () => () => { @@ -176,9 +174,7 @@ describe('use[Client]', async () => { immediate: false, }) - expectTypeOf(data).toMatchTypeOf>() + expectTypeOf(data).toExtend>() }) it('has correct response type using "default" and "transform"', () => () => { @@ -193,11 +189,7 @@ describe('use[Client]', async () => { immediate: false, }) - expectTypeOf(data).toMatchTypeOf>() + expectTypeOf(data).toExtend>() }) it('has correct response type using "pick"', () => () => { @@ -207,9 +199,7 @@ describe('use[Client]', async () => { immediate: false, }) - expectTypeOf(data).toMatchTypeOf>() + expectTypeOf(data).toExtend>() }) it('returns correct type based on accept header', () => () => {