Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto generate type augmentations for @nuxt/schema #6

Closed
danielroe opened this issue Dec 10, 2021 · 1 comment
Closed

auto generate type augmentations for @nuxt/schema #6

danielroe opened this issue Dec 10, 2021 · 1 comment

Comments

@danielroe
Copy link
Member

No description provided.

@pi0
Copy link
Member

pi0 commented Dec 23, 2021

Just added a minimum working POC (

async function writeTypes (distDir: string, meta: ModuleMeta) {
). It needs module authors to explicitly export ModuleOptions type. Probably not perfect but we can iterate over it to improve integration with untyped to support schema to infer from default export. (#7)

@pi0 pi0 closed this as completed Dec 23, 2021
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

No branches or pull requests

2 participants