Minor TypeScript definition tweak
This commit is contained in:
parent
bd197bb9c1
commit
21c1db5aa0
|
@ -41,10 +41,10 @@ declare const pDefer: {
|
|||
})();
|
||||
```
|
||||
*/
|
||||
<ValueType = unknown>(): pDefer.DeferredPromise<ValueType>;
|
||||
<ValueType>(): pDefer.DeferredPromise<ValueType>;
|
||||
|
||||
// TODO: Remove this for the next major release, refactor the whole definition to:
|
||||
// declare function pDefer<ValueType = unknown>(): pDefer.DeferredPromise<
|
||||
// declare function pDefer<ValueType>(): pDefer.DeferredPromise<
|
||||
// ValueType
|
||||
// >;
|
||||
// export = pDefer;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"bluebird"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"ava": "^2.0.0",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue