chore: upgrade to nuxt v3.2.0 (#1695)

This commit is contained in:
Daniel Roe 2023-02-12 12:56:29 +01:00 committed by GitHub
parent 73dc060578
commit efaeb67261
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 530 additions and 420 deletions

View file

@ -1,7 +1,5 @@
// @ts-expect-error unstorage needs to provide backwards-compatible subpath types
import _fs from 'unstorage/drivers/fs'
// @ts-expect-error unstorage needs to provide backwards-compatible subpath types
import _memory from 'unstorage/drivers/memory'
import fs from 'unstorage/drivers/fs'
import memory from 'unstorage/drivers/memory'
import { stringifyQuery } from 'ufo'
@ -19,9 +17,6 @@ import { driver } from '#storage-config'
import type { AppInfo } from '~/types'
import { APP_NAME } from '~/constants'
const fs = _fs as typeof import('unstorage/dist/drivers/fs')['default']
const memory = _memory as typeof import('unstorage/dist/drivers/memory')['default']
const storage = useStorage() as Storage
if (driver === 'fs') {