Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ecbc960

Browse files
authored
fix(types): add nuxt content support for typescript (#688)
1 parent 7e65d41 commit ecbc960

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/cna-template/template/tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
]
2525
},
2626
"types": [
27-
"@types/node",
28-
"@nuxt/types"
27+
"@nuxt/types",
28+
<%_ if (content) { _%>
29+
"@nuxt/content",
30+
<%_ } _%>
31+
"@types/node"
2932
]
3033
},
3134
"exclude": [

0 commit comments

Comments
 (0)