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

Mutations: Validate Exported Types #440

Closed
dOrgJelli opened this issue Mar 3, 2020 · 1 comment
Closed

Mutations: Validate Exported Types #440

dOrgJelli opened this issue Mar 3, 2020 · 1 comment

Comments

@dOrgJelli
Copy link

Currently the mutations integration only checks for the presence of a types.d.ts file, but does not validate the contents.

Ideally we'd want to validate the following types:

  • Config
  • State
  • EventMap
  • Any custom event payload

I think that the best route for implementing this would be to use the Typescript run-time directly. Possibly something like this: https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API#using-the-type-checker

@azf20 azf20 added this to Tooling Mar 8, 2023
@azf20
Copy link
Contributor

azf20 commented Mar 9, 2023

Closing as stale

@azf20 azf20 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2023
@github-project-automation github-project-automation bot moved this to ✅ Done in Tooling Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants