Open danielroe opened 2 months ago
Context: https://github.com/nuxt/nuxt/issues/28332
nuxt/schema is a re-export of @nuxt/schema for users to use. Modules should not augment it, or it may end up overwriting the inferred types from @nuxt/schema.
nuxt/schema
@nuxt/schema
(We made the change in https://github.com/nuxt/module-builder/pull/295 (released in v0.8.0 of @nuxt/module-builder) to avoid doing this in @nuxt/module-builder itself. This fix may require you merge https://github.com/Tahul/nuxt-edgedb/pull/35 first to be effective.)
@nuxt/module-builder
Context: https://github.com/nuxt/nuxt/issues/28332
nuxt/schema
is a re-export of@nuxt/schema
for users to use. Modules should not augment it, or it may end up overwriting the inferred types from@nuxt/schema
.(We made the change in https://github.com/nuxt/module-builder/pull/295 (released in v0.8.0 of
@nuxt/module-builder
) to avoid doing this in@nuxt/module-builder
itself. This fix may require you merge https://github.com/Tahul/nuxt-edgedb/pull/35 first to be effective.)