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

Typescript support #158

Open
magnattic opened this issue Jul 21, 2023 · 1 comment
Open

Typescript support #158

magnattic opened this issue Jul 21, 2023 · 1 comment

Comments

@magnattic
Copy link

Is your feature request related to a problem? Please describe.
Right now this project cannot be used with Typescript properly.

Describe the solution you'd like
It should provide support for typescript:

  • accept typescript database files (db.ts)
  • provide types for it's own module (json-graphql-server)

Describe alternatives you've considered
The only alternative I see is to provide typings myself and use the programmatic variant with ts-node to get TS files for the database to work.

@fzaninotto
Copy link
Member

Nice. Feel free to open a PR adding TS support!

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

No branches or pull requests

2 participants