Comparing version 1.2.10 to 1.2.11
/** | ||
* Created by user on 2019/5/17. | ||
*/ | ||
import _Bluebird = require('bluebird'); | ||
import { ITSUnpackedReturnType } from '..'; | ||
import _Bluebird from 'bluebird'; | ||
import { ITSUnpackedReturnType, ITSKeyOfRecordExtractToKey, ITSUnpackedPromiseLike } from '..'; | ||
export declare type IBluebird<T> = _Bluebird<T>; | ||
export declare type ITSBluebird<T> = _Bluebird<T>; | ||
export declare type ITSWrapFunctionBluebird<T extends (...args: any[]) => any> = (...args: Parameters<T>) => IBluebird<ITSUnpackedReturnType<T>>; | ||
export declare type ITSBluebirdPromisifyAll<T, K extends ITSKeyOfRecordExtractToKey<T, Function> = ITSKeyOfRecordExtractToKey<T, Function>> = Omit<T, K> & { | ||
[P in K]: (...argv: Parameters<T[P]>) => IBluebird<ITSUnpackedPromiseLike<ReturnType<T[P]>>>; | ||
}; | ||
export declare type ITSPromisifyAll<T, K extends ITSKeyOfRecordExtractToKey<T, Function> = ITSKeyOfRecordExtractToKey<T, Function>> = Omit<T, K> & { | ||
[P in K]: (...argv: Parameters<T[P]>) => Promise<ITSUnpackedPromiseLike<ReturnType<T[P]>>>; | ||
}; |
@@ -6,2 +6,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmx1ZWJpcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJibHVlYmlyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7O0dBRUciLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENyZWF0ZWQgYnkgdXNlciBvbiAyMDE5LzUvMTcuXG4gKi9cblxuaW1wb3J0IF9CbHVlYmlyZCA9IHJlcXVpcmUoJ2JsdWViaXJkJyk7XG5pbXBvcnQgeyBJVFNVbnBhY2tlZFJldHVyblR5cGUgfSBmcm9tICcuLic7XG5cbmV4cG9ydC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VCwgSyBleHRlbmRzIElUU0tleU9mUmVjb3JkRXh0cmFjdFRvS2V5PFQsIEZ1bmN0aW9uPiA9IElUU0tleU9mUmVjb3JkRXh0cmFjdFRvS2V5PFQsIEZ1bmN0aW9uPj4gPSBPbWl0PFQsIEs+ICYge1xuXHRbUCBpbiBLXTogKC4uLmFyZ3Y6IFBhcmFtZXRlcnM8VFtQXT4pID0+IElCbHVlYmlyZDxJVFNVbnBhY2tlZFByb21pc2VMaWtlPFJldHVyblR5cGU8VFtQXT4+PlxufVxuXG5leHBvcnQgdHlwZSBJVFNQcm9taXNpZnlBbGw8VCwgSyBleHRlbmRzIElUU0tleU9mUmVjb3JkRXh0cmFjdFRvS2V5PFQsIEZ1bmN0aW9uPiA9IElUU0tleU9mUmVjb3JkRXh0cmFjdFRvS2V5PFQsIEZ1bmN0aW9uPj4gPSBPbWl0PFQsIEs+ICYge1xuXHRbUCBpbiBLXTogKC4uLmFyZ3Y6IFBhcmFtZXRlcnM8VFtQXT4pID0+IFByb21pc2U8SVRTVW5wYWNrZWRQcm9taXNlTGlrZTxSZXR1cm5UeXBlPFRbUF0+Pj5cbn1cbiJdfQ== |
{ | ||
"name": "ts-type", | ||
"version": "1.2.10", | ||
"version": "1.2.11", | ||
"description": "add some typescript type and re-export some build-in typescript type", | ||
@@ -67,3 +67,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "591287db825f9b4f086b73d824c7987fd7a05c39" | ||
"gitHead": "3e316335e55b83ce4a7bb55bee75036e489ab6e1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
462851
433