Skip to content

chore: use module-builder stub mode for more accurate types#126

Merged
harlan-zw merged 2 commits into
nuxt-modules:mainfrom
danielroe:module-stub
Dec 19, 2023
Merged

chore: use module-builder stub mode for more accurate types#126
harlan-zw merged 2 commits into
nuxt-modules:mainfrom
danielroe:module-stub

Conversation

@danielroe

Copy link
Copy Markdown
Contributor

Description

We added a prepare command for nuxt-module-build which allows creating type stubs directly from the module without needing to apply to the playground as well. (nuxt/module-builder#124)

It's the default for new modules (nuxt/starter#392).

This should allow us to match types more appropriately for module authors (for example, disallowing auto-imports) in future.

Linked Issues

Additional context

@danielroe danielroe marked this pull request as ready for review December 19, 2023 20:37
@harlan-zw harlan-zw merged commit 41ac6e8 into nuxt-modules:main Dec 19, 2023
@harlan-zw

Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants