fix(vue-app): provide typescript backward compatibility

This commit is contained in:
Kevin Marrec 2019-08-20 13:01:34 +02:00 committed by Pooya Parsa
parent ce3b456961
commit 7fc23cd434
2 changed files with 5 additions and 1 deletions

2
packages/vue-app/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/vue-app` for Nuxt < 2.9

View File

@ -6,8 +6,10 @@
"files": [
"dist",
"template",
"vetur"
"vetur",
"index.d.ts"
],
"typings": "index.d.ts",
"main": "dist/vue-app.js",
"dependencies": {
"node-fetch": "^2.6.0",