From 68d24eeeab93a7c782cefbd41abec1dac955e876 Mon Sep 17 00:00:00 2001 From: Enkot Date: Mon, 19 Feb 2024 20:42:30 +0200 Subject: [PATCH] fix: fixed OpenFetchClientName --- src/runtime/clients.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime/clients.ts b/src/runtime/clients.ts index 25d89e4..4698e2e 100644 --- a/src/runtime/clients.ts +++ b/src/runtime/clients.ts @@ -10,13 +10,11 @@ import type { } from "openapi-typescript-helpers" import type { AsyncData, UseFetchOptions } from "nuxt/app" -// import type { OpenFetchClientName } from '#build/nuxt-open-fetch' +import type { OpenFetchClientName } from '#build/nuxt-open-fetch' import { toValue } from 'vue' import { $fetch } from 'ofetch' import { useNuxtApp, useFetch } from 'nuxt/app' -type OpenFetchClientName = 'pets' - type PickFrom> = T extends Array ? T : T extends Record ? keyof T extends K[number] ? T : K[number] extends never ? T : Pick : T; type KeysOf = Array;