fix(config): provide typescript backward compatibility (#6258)

This commit is contained in:
Pooya Parsa 2019-08-20 21:47:59 +04:30 committed by GitHub
parent 6a06dfb39a
commit 3ca7eca7cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

2
packages/config/index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
// Dummy type definition file to provide backward compatibility
// around Nuxt modules extending `@nuxt/config` for Nuxt < 2.9

View File

@ -4,9 +4,11 @@
"repository": "nuxt/nuxt.js",
"license": "MIT",
"files": [
"dist"
"dist",
"index.d.ts"
],
"main": "dist/config.js",
"typings": "index.d.ts",
"dependencies": {
"@nuxt/utils": "2.9.1",
"consola": "^2.10.1",