@qiwi/substrate-types
Advanced tools
Comparing version 1.52.2 to 1.53.0
{ | ||
"git": { | ||
"commitId": "a10621adfadc492e1782d5afcfd0699048e72523", | ||
"commitId": "498636878ccaf7d4e3444942e079e3f6117ec5ef", | ||
"repoUrl": "https://github.com/qiwi/substrate.git", | ||
"repoName": "qiwi/substrate" | ||
}, | ||
"date": "2021-08-27T16:47:53.128Z" | ||
"date": "2021-11-11T16:43:58.186Z" | ||
} |
@@ -0,1 +1,16 @@ | ||
# @qiwi/substrate-types [1.53.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.52.2...@qiwi/substrate-types@1.53.0) (2021-11-11) | ||
### Features | ||
* **types:** add custom K type for UnionToIntersection helper ([4986368](https://github.com/qiwi/substrate/commit/498636878ccaf7d4e3444942e079e3f6117ec5ef)) | ||
### Dependencies | ||
* **@qiwi/substrate-infra:** upgraded to 1.2.0 | ||
## @qiwi/substrate-types [1.52.2](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.52.1...@qiwi/substrate-types@1.52.2) (2021-08-27) | ||
@@ -2,0 +17,0 @@ |
@@ -290,4 +290,6 @@ /** | ||
declare module "@qiwi/substrate-types/target/es5/helpers" { | ||
declare export type UnionToIntersection<U> = | ||
/* Flow doesn't support conditional types, use `$Call` utility type */ any; | ||
declare export type UnionToIntersection< | ||
U, | ||
K = any | ||
> = /* Flow doesn't support conditional types, use `$Call` utility type */ any; | ||
declare export function mkenum< | ||
@@ -294,0 +296,0 @@ T: { |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.52.2", | ||
"version": "1.53.0", | ||
"main": "target/es5/index.js", | ||
@@ -41,14 +41,14 @@ "source": "target/ts/index.ts", | ||
"devDependencies": { | ||
"@qiwi/uniconfig": "3.5.1", | ||
"@qiwi/substrate-infra": "1.1.5", | ||
"@qiwi/uniconfig": "3.5.2", | ||
"@qiwi/substrate-infra": "1.2.0", | ||
"@types/bluebird": "3.5.36", | ||
"@types/config": "0.0.39", | ||
"@types/jest": "27.0.1", | ||
"@types/lodash": "4.14.172", | ||
"@types/node": "16.7.2", | ||
"@types/config": "0.0.40", | ||
"@types/jest": "27.0.2", | ||
"@types/lodash": "4.14.176", | ||
"@types/node": "16.11.7", | ||
"@types/parsimmon": "1.10.6", | ||
"@types/underscore": "1.11.3", | ||
"axios": "0.21.1", | ||
"axios": "0.24.0", | ||
"bluebird": "3.7.2", | ||
"conf": "10.0.2", | ||
"conf": "10.0.3", | ||
"config": "3.3.6", | ||
@@ -55,0 +55,0 @@ "lodash": "4.17.21", |
@@ -1,2 +0,2 @@ | ||
export declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export declare type UnionToIntersection<U, K = any> = (U extends K ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export declare function mkenum<T extends { | ||
@@ -3,0 +3,0 @@ [index: string]: U; |
@@ -1,2 +0,2 @@ | ||
export declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export declare type UnionToIntersection<U, K = any> = (U extends K ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export declare function mkenum<T extends { | ||
@@ -3,0 +3,0 @@ [index: string]: U; |
@@ -1,3 +0,3 @@ | ||
export type UnionToIntersection<U> = ( | ||
U extends any ? (k: U) => void : never | ||
export type UnionToIntersection<U, K = any> = ( | ||
U extends K ? (k: U) => void : never | ||
) extends (k: infer I) => void | ||
@@ -4,0 +4,0 @@ ? I |
@@ -87,3 +87,3 @@ declare module '@qiwi/substrate-types' { | ||
declare module '@qiwi/substrate-types/target/es5/helpers' { | ||
export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export type UnionToIntersection<U, K = any> = (U extends K ? (k: U) => void : never) extends (k: infer I) => void ? I : never; | ||
export function mkenum<T extends { | ||
@@ -90,0 +90,0 @@ [index: string]: U; |
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
170250
3161