mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix(config): provide typescript backward compatibility (#6258)
This commit is contained in:
parent
6a06dfb39a
commit
3ca7eca7cf
2
packages/config/index.d.ts
vendored
Normal file
2
packages/config/index.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
// Dummy type definition file to provide backward compatibility
|
||||||
|
// around Nuxt modules extending `@nuxt/config` for Nuxt < 2.9
|
@ -4,9 +4,11 @@
|
|||||||
"repository": "nuxt/nuxt.js",
|
"repository": "nuxt/nuxt.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist",
|
||||||
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
"main": "dist/config.js",
|
"main": "dist/config.js",
|
||||||
|
"typings": "index.d.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/utils": "2.9.1",
|
"@nuxt/utils": "2.9.1",
|
||||||
"consola": "^2.10.1",
|
"consola": "^2.10.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user