fix(types): add nuxt.config alias type (#9424)

This commit is contained in:
Andrew Luca 2021-06-10 23:10:09 +03:00 committed by GitHub
parent af98868264
commit 5934f41f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ export { ServerMiddleware } from './server-middleware'
export interface Configuration extends Record<string, any> {} export interface Configuration extends Record<string, any> {}
export interface NuxtOptions extends Configuration { export interface NuxtOptions extends Configuration {
alias: Record<string, string>
build: NuxtOptionsBuild build: NuxtOptionsBuild
buildDir: string buildDir: string
buildModules: NuxtOptionsModule[] buildModules: NuxtOptionsModule[]