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

Add types for exported module #413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darthgoldstein
Copy link
Contributor

@darthgoldstein darthgoldstein commented Nov 24, 2021

Added a few .d.ts files to describe the types of the exported modules for this project.
Resolve Issue 412

@darthgoldstein
Copy link
Contributor Author

@bfirsh I'd really love it if you could take a quick look and give me feedback or merge this change :)

@bfirsh
Copy link
Owner

bfirsh commented Dec 1, 2021

Boom, amazing thank you! I wonder if there is a way to add a simple test to this to ensure they stay in sync? No big deal if it's difficult.

@darthgoldstein
Copy link
Contributor Author

That the types stay in sync with the actual classes that they represent?

@bfirsh
Copy link
Owner

bfirsh commented Dec 7, 2021

Yeah, exactly. I wonder if there's a simple typescript lint or compile command that could run in CI, or something. Not a big deal if it's not simple.

@bfirsh
Copy link
Owner

bfirsh commented Dec 7, 2021

Looks like the build is broken anyway, sigh. (It's also broken on master.)

@darthgoldstein
Copy link
Contributor Author

darthgoldstein commented Dec 9, 2021

Looks like the build is broken anyway, sigh. (It's also broken on master.)

Well that's no fun. I just uploaded #415 which should ideally fix the build issue.

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

Successfully merging this pull request may close these issues.

Add types to project
2 participants