fix: revert upgrade to nuxt v3.2.0 (#1692)

This commit is contained in:
Daniel Roe 2023-02-10 00:32:30 +01:00 committed by GitHub
parent 44c3dd762e
commit 9578ed1e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 421 additions and 530 deletions

View file

@ -1,7 +1,10 @@
import type { Driver } from 'unstorage'
import memory from 'unstorage/drivers/memory'
// @ts-expect-error unstorage needs to provide backwards-compatible subpath types
import _memory from 'unstorage/drivers/memory'
import { defineDriver } from 'unstorage'
const memory = _memory as typeof import('unstorage/dist/drivers/memory')['default']
export interface CacheDriverOptions {
driver: Driver
}