fix(nuxt): don't override options signature with schema (#19934)

This commit is contained in:
Daniel Roe 2023-03-28 10:55:20 +02:00 committed by GitHub
parent 45cedd85bd
commit 6f6140809d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,8 @@ export default defineNuxtModule({
const _types = generateTypes(schema, {
addExport: true,
interfaceName: 'NuxtCustomSchema',
partial: true
partial: true,
allowExtraKeys: false
})
const types =
_types +