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

Added onChange definition to RouterProps #217

Closed

Conversation

jmfirth
Copy link

@jmfirth jmfirth commented Jul 20, 2017

Found a missing definition when converting a preact-cli app created with default options to TypeScript. Had to guess at which parts of the RouteChangeEvent interface were potentially undefined.

Code in the full template that led to this PR: https://github.com/developit/preact-cli/blob/master/examples/full/src/components/app.js#L23

Code that the definition covers: https://github.com/developit/preact-router/blob/master/src/index.js#L238-L244

@jmfirth
Copy link
Author

jmfirth commented Jul 20, 2017

Duplicate of #215

@jmfirth jmfirth closed this Jul 20, 2017
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.

1 participant