Skip to content

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

Merged
ricardogobbosouza merged 1 commit into
mainfrom
module-stub
Mar 4, 2024
Merged

chore: use module-builder stub mode for more accurate types#119
ricardogobbosouza merged 1 commit into
mainfrom
module-stub

Conversation

@danielroe

Copy link
Copy Markdown
Contributor

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.

@ricardogobbosouza ricardogobbosouza merged commit 5f0dbb6 into main Mar 4, 2024
@ricardogobbosouza ricardogobbosouza deleted the module-stub branch March 4, 2024 10:53
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