Skip to content
New issue

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

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

Already on GitHub? # to your account

Typescript support #158

Open
magnattic opened this issue Jul 21, 2023 · 4 comments
Open

Typescript support #158

magnattic opened this issue Jul 21, 2023 · 4 comments

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!

eurisko-info-lab added a commit to eurisko-info-lab/json-graphql-server that referenced this issue Dec 19, 2024
@eurisko-info-lab
Copy link

Hi. Here is a commit to add support for Typescript : 8dea855

@fzaninotto
Copy link
Member

Thanks, can you open a PR?

@eurisko-info-lab
Copy link

eurisko-info-lab commented Dec 19, 2024 via email

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

No branches or pull requests

3 participants