@qiwi/substrate-types
Advanced tools
Comparing version 1.9.1 to 1.10.0
@@ -0,1 +1,8 @@ | ||
# [@qiwi/substrate-types-v1.10.0](https://github.com/qiwi/substrate/compare/v1.9.1...v1.10.0) (2019-04-08) | ||
### Features | ||
* **types:** add IMoney ([8012a91](https://github.com/qiwi/substrate/commit/8012a91)) | ||
# [@qiwi/substrate-types-v1.9.1](https://github.com/qiwi/substrate/compare/v1.9.0...v1.9.1) (2019-04-04) | ||
@@ -2,0 +9,0 @@ |
@@ -12,1 +12,2 @@ export { IStringMap } from './IStringMap'; | ||
export { IPromiseConstructor, IPromise } from './IPromise'; | ||
export { IMoney } from './IMoney'; |
@@ -12,1 +12,2 @@ export { IStringMap } from './IStringMap'; | ||
export { IPromiseConstructor, IPromise } from './IPromise'; | ||
export { IMoney } from './IMoney'; |
@@ -12,1 +12,2 @@ export { IStringMap } from './IStringMap' | ||
export { IPromiseConstructor, IPromise } from './IPromise' | ||
export { IMoney } from './IMoney' |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.9.1", | ||
"version": "1.10.0", | ||
"main": "lib/es5/index.js", | ||
@@ -5,0 +5,0 @@ "types": "typings/index.d.ts", |
@@ -40,2 +40,11 @@ declare module '@qiwi/substrate-types/lib/es5/IAnyMap' { | ||
} | ||
declare module '@qiwi/substrate-types/lib/es5/IMoney' { | ||
import { ICurrency } from '@qiwi/substrate-types/lib/es5/ICurrency'; | ||
type IValue = number; | ||
interface IMoney { | ||
value: IValue; | ||
currency: ICurrency; | ||
toString: () => string; | ||
} | ||
} | ||
declare module '@qiwi/substrate-types/lib/es5/IPromise' { | ||
@@ -96,2 +105,3 @@ type TPromiseExecutor<TValue = any, TReason = any> = (resolve: (value: TValue) => void, reject: (reason: TReason) => void) => void; | ||
export { IPromiseConstructor, IPromise } from '@qiwi/substrate-types/lib/es5/IPromise'; | ||
export { IMoney } from '@qiwi/substrate-types/lib/es5/IMoney'; | ||
} | ||
@@ -98,0 +108,0 @@ declare module '@qiwi/substrate-types' { |
@@ -51,2 +51,12 @@ /** | ||
} | ||
declare module "@qiwi/substrate-types/lib/es5/IMoney" { | ||
import type { ICurrency } from "@qiwi/substrate-types/lib/es5/ICurrency"; | ||
declare type IValue = number; | ||
declare interface IMoney { | ||
value: IValue; | ||
currency: ICurrency; | ||
toString: () => string; | ||
} | ||
} | ||
declare module "@qiwi/substrate-types/lib/es5/IPromise" { | ||
@@ -158,2 +168,4 @@ declare type TPromiseExecutor<TValue = any, TReason = any> = ( | ||
} from "@qiwi/substrate-types/lib/es5/IPromise"; | ||
declare export { IMoney } from "@qiwi/substrate-types/lib/es5/IMoney"; | ||
} | ||
@@ -160,0 +172,0 @@ declare module "@qiwi/substrate-types" { |
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
31330
96
547