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

When adding to existing project with TS, configure gentype #44

Open
zth opened this issue Jan 12, 2024 · 0 comments
Open

When adding to existing project with TS, configure gentype #44

zth opened this issue Jan 12, 2024 · 0 comments

Comments

@zth
Copy link

zth commented Jan 12, 2024

This could be a neat thing - configure gentype automatically whenever adding to an existing project with TS already installed.

We could:

  • Detect the config needed for "module" and "moduleResolution" in gentype via tsconfig.json
  • Warn of allowJs is not true in tsconfig.json and explain why it's needed

Going for a "1 command to get setup" approach.

cc @cometkim

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

1 participant