type KeysOf = Array; export function useGAsyncData = KeysOf, DefaultT = null>(...params: Parameters>): ReturnType> { if (!params[2]) { params[2] = {}; } params[2].getCachedData = (key) => useNuxtData(key).data.value ?? undefined; return useAsyncData(...params); }