Skip to content

Commit

Permalink
Add #app import stub to fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
brawaru committed Nov 23, 2023
1 parent 08cfceb commit a08c222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/vintl-nuxt/stubs/app.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'nuxt/app'
3 changes: 2 additions & 1 deletion packages/vintl-nuxt/tsconfig.runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

"outDir": "./dist",
"paths": {
"#imports": ["./stubs/imports.js"]
"#imports": ["./stubs/imports.js"],
"#app": ["./stubs/app.js"]
}
},
"include": [
Expand Down

0 comments on commit a08c222

Please sign in to comment.