Skip to content

Ability to add Typescript types to our defined document types? #492

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

Closed
cobbvanth opened this issue Jun 19, 2023 · 1 comment
Closed

Ability to add Typescript types to our defined document types? #492

cobbvanth opened this issue Jun 19, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@cobbvanth
Copy link

I am currently using the json type when defining my document with defineDocumentType, however this generates to an any type, causing pain inside of the actual app. Would it be possible to pass in Typescript interfaces/types in the future to alleviate this?

thanks

@schickling
Copy link
Collaborator

Duplicate of #26

@schickling schickling marked this as a duplicate of #26 Jun 19, 2023
@schickling schickling closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2023
@schickling schickling added the duplicate This issue or pull request already exists label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants