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

[typescript] Result of hoc withRouter should not require props provided by it #223

Merged
merged 3 commits into from
Jan 1, 2019

Conversation

rosskevin
Copy link
Contributor

No description provided.

@jquense
Copy link
Member

jquense commented Jan 1, 2019

looks good, can you add a test exercising the type in types/text.jsx

@rosskevin
Copy link
Contributor Author

rosskevin commented Jan 1, 2019

It was already exercised, not sure why it was not erroring because it did downstream in my app.
https://github.com/4Catalyzer/found/blob/master/test/typescript/MainPage.tsx#L6

@taion
Copy link
Contributor

taion commented Jan 1, 2019

@jquense Should we merge as-is, then, or do you want to look at the test?

@rosskevin
Copy link
Contributor Author

I'll take another look at the script.

@rosskevin
Copy link
Contributor Author

Whomever added dtslint ignored the existing test files.

@taion
Copy link
Contributor

taion commented Jan 1, 2019

oops, that's unfortunate. can you fix that?

@rosskevin
Copy link
Contributor Author

Ok, original typescript tests added and fixed up based on the dtslint rules. Should be good to go.

@taion
Copy link
Contributor

taion commented Jan 1, 2019

@jquense Can you take another look? If it's good, I'll cut a release.

Copy link
Member

@jquense jquense left a comment

Choose a reason for hiding this comment

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

LGTM, sorry missed these tests originally

@taion taion merged commit 6a96faa into 4Catalyzer:master Jan 1, 2019
@taion
Copy link
Contributor

taion commented Jan 1, 2019

released in v0.3.17

@rosskevin rosskevin deleted the patch-1 branch January 24, 2019 23:00
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.

None yet

3 participants