fix(schema): hoist nitropack/types to ensure api routes are typed

This commit is contained in:
Daniel Roe 2024-11-03 20:58:25 +00:00
parent 1b53911825
commit 54096875ee
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -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',