8000 stale-lru-cache: Fix error in typescript@next · Pull Request #17063 · DefinitelyTyped/DefinitelyTyped · GitHub
[go: up one dir, main page]

Skip to content

stale-lru-cache: Fix error in typescript@next #17063

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

Merged
merged 1 commit into from
Jun 8, 2017
Merged

Conversation

ghost
Copy link
@ghost ghost commented Jun 8, 2017

Based on the tests (the line if (error) return callback(error);), it looks like it is optional to pass value into the OptionsCallback.
This was an error in typescript@next thanks to microsoft/TypeScript#15104.
CC @cxcorp

@dt-bot
Copy link
Member
dt-bot commented Jun 8, 2017

types/stale-lru-cache/index.d.ts

to author (@cxcorp). Could you review this PR?
👍 or 👎?

Checklist

  • pass the Travis CI test?

@mhegazy mhegazy merged commit a994ca3 into master Jun 8, 2017
@mhegazy mhegazy deleted the stale-lru-cache branch June 8, 2017 22:14
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.

2 participants
0