Socket
Socket
Sign inDemoInstall

ts-type

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-type - npm Package Compare versions

Comparing version 1.2.15 to 1.2.16

CHANGELOG.md

7

lib/type/bluebird.d.ts
/**
* Created by user on 2019/5/17.
*/
import _Bluebird from 'bluebird';
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 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>>;

@@ -15,1 +15,2 @@ export declare type ITSBluebirdPromisifyAll<T, K extends ITSKeyOfRecordExtractToKey<T, Function> = ITSKeyOfRecordExtractToKey<T, Function>> = Omit<T, K> & {

};
export declare type ITSResultArrayToBluebirdInspection<T> = T extends [infer T1, infer T2, infer T3, infer T4, infer T5] ? [Bluebird.Inspection<T1>, Bluebird.Inspection<T2>, Bluebird.Inspection<T3>, Bluebird.Inspection<T4>, Bluebird.Inspection<T5>] : T extends [infer T1, infer T2, infer T3, infer T4] ? [Bluebird.Inspection<T1>, Bluebird.Inspection<T2>, Bluebird.Inspection<T3>, Bluebird.Inspection<T4>] : T extends [infer T1, infer T2, infer T3] ? [Bluebird.Inspection<T1>, Bluebird.Inspection<T2>, Bluebird.Inspection<T3>] : T extends [infer T1, infer T2] ? [Bluebird.Inspection<T1>, Bluebird.Inspection<T2>] : T extends [infer T1] ? [Bluebird.Inspection<T1>] : T extends (infer R)[] ? Bluebird.Inspection<R>[] : never;

@@ -11,1 +11,12 @@ /**

};
export interface ITSPromiseFulfilledResult<T> {
status: "fulfilled";
value: T;
reason?: never;
}
export interface ITSPromiseRejectedResult<E = any> {
status: "rejected";
reason: E;
value?: never;
}
export declare type ITSPromiseSettledResult<T, E = any> = ITSPromiseFulfilledResult<T> | ITSPromiseRejectedResult<E>;
{
"name": "ts-type",
"version": "1.2.15",
"version": "1.2.16",
"description": "add some typescript type and re-export some build-in typescript type",

@@ -46,8 +46,8 @@ "keywords": [

"build:toc": "tsc -p ./ --isolatedModules --noStrictGenericChecks --skipLibCheck & echo build:toc",
"prepublishOnly": "yarn run ncu && yarn run sort-package-json & yarn run build",
"ncu": "npx yarn-tool ncu -u",
"prepublishOnly": "yarn run ncu && yarn run sort-package-json & yarn run build",
"sort-package-json": "npx yarn-tool sort"
},
"dependencies": {
"ts-toolbelt": "^6.3.6",
"ts-toolbelt": "^6.6.2",
"typedarray-dts": "^1.0.0"

@@ -57,3 +57,2 @@ },

"@bluelovers/fast-glob": "^3.0.4",
"@bluelovers/tsconfig": "^1.0.19",
"@types/bluebird": "*",

@@ -65,3 +64,6 @@ "@types/node": "*",

},
"gitHead": "30e5dd05f7b721e6a1534e822289da88b84aeb96"
"peerDependencies": {
"@types/bluebird": "*"
},
"gitHead": "fe321d35777f3e74b100d0dee17ee709d6a2287a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc