Skip to content

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

Merged
mhegazy merged 1 commit intomasterfrom
stale-lru-cache
Jun 8, 2017
Merged

stale-lru-cache: Fix error in typescript@next#17063
mhegazy merged 1 commit intomasterfrom
stale-lru-cache

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