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

test(ts): Add types to js-stubs #29855

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

evanpurkhiser
Copy link
Member

@evanpurkhiser evanpurkhiser commented Nov 8, 2021

These are pretty much just stub types for now. We can expand on these and make them more correct later, or even move them to be part of the stubs themselves (probably best)

AccountEmails: OverridableStubList;
ActivityFeed: OverridableStub;
ApiApplication: OverridableStub;
ApiKey: OverridableStub;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these generics be filled out as the implementations are all JS only files.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would love for them to be. But it's going to be a lot more effort to make types align in our tests :( we probably should do them one at a time

@evanpurkhiser evanpurkhiser merged commit 25b5992 into master Nov 9, 2021
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/test-ts-add-types-to-js-stubs branch November 9, 2021 02:26
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants