mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
fix(schema): hoist nitropack/types
to ensure api routes are typed
This commit is contained in:
parent
1b53911825
commit
54096875ee
@ -34,6 +34,7 @@ export default defineUntypedSchema({
|
|||||||
$resolve: (val) => {
|
$resolve: (val) => {
|
||||||
const defaults = [
|
const defaults = [
|
||||||
// Nitro auto-imported/augmented dependencies
|
// Nitro auto-imported/augmented dependencies
|
||||||
|
'nitropack/types',
|
||||||
'nitropack',
|
'nitropack',
|
||||||
'defu',
|
'defu',
|
||||||
'h3',
|
'h3',
|
||||||
|
Loading…
Reference in New Issue
Block a user