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:
|
// 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
|
// ValueType
|
||||||
// >;
|
// >;
|
||||||
// export = pDefer;
|
// export = pDefer;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"bluebird"
|
"bluebird"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ava": "^1.4.1",
|
"ava": "^2.0.0",
|
||||||
"tsd": "^0.7.2",
|
"tsd": "^0.7.2",
|
||||||
"xo": "^0.24.0"
|
"xo": "^0.24.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue