modules
modules copied to clipboard
Move `ModuleCompatibility` Type to `@nuxt/kit`
Description
The lib/types.ts file contains a // TODO: Move to @nuxt/kit comment for the ModuleCompatibility type.
Moving this type to @nuxt/kit would improve modularity and make it easier to reuse across modules.
https://github.com/nuxt/modules/blob/5346488a2d061c6508cf0df2ad08fe9d9813a9ae/lib/types.ts#L3-L12
Proposed Solution
- Move
ModuleCompatibilitytype definition to@nuxt/kit. - Update any references in the codebase to import
ModuleCompatibilityfrom@nuxt/kit.
Additional Context
Guidance on the preferred location within @nuxt/kit for this type would be appreciated.