chore(types): add stub entrypoint to allow node resolution of @nuxt/types (#9059)

see https://github.com/microsoft/TypeScript/issues/18008#issuecomment-804299674

closes #9030
This commit is contained in:
Daniel Roe 2021-03-28 19:19:45 +01:00 committed by GitHub
parent 9065f63edf
commit 248a5c85a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

1
packages/types/index.js Normal file
View File

@ -0,0 +1 @@
module.exports = {}

View File

@ -4,8 +4,10 @@
"description": "Nuxt types",
"repository": "nuxt/nuxt.js",
"license": "MIT",
"types": "index",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"**/*.d.ts"
],
"dependencies": {