-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Update tape.d.ts for tape v4.2.2 #6976
Conversation
tape/tape.d.ts to author (@Bartvds). Could you review this PR? Checklist
|
82703f6
to
088c00c
Compare
// Definitions: https://github.com/borisyankov/DefinitelyTyped | ||
|
||
/// <reference path="../node/node.d.ts" /> | ||
|
||
declare module 'tape' { | ||
export = tape; | ||
export default tape; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this right?
https://github.com/substack/tape/blob/master/index.js#L19
tape does not have exports.default = module.exports;
syntax.
export default tape;
is not compatible export = tape;
.
Oops. It's fixed now. |
c935071
to
329dbc3
Compare
Just squashed to get a clean git history. |
Update tape.d.ts for tape v4.2.2
thanks mate! |
https://github.com/substack/tape