@qiwi/substrate-types
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -0,1 +1,8 @@ | ||
# [@qiwi/substrate-types-v1.4.0](https://github.com/qiwi/substrate/compare/v1.3.1...v1.4.0) (2019-03-07) | ||
### Features | ||
* **types:** add TUtilGet ([#19](https://github.com/qiwi/substrate/issues/19)) ([c81b311](https://github.com/qiwi/substrate/commit/c81b311)) | ||
# [@qiwi/substrate-types-v1.3.1](https://github.com/qiwi/substrate/compare/v1.3.0...v1.3.1) (2019-02-14) | ||
@@ -2,0 +9,0 @@ |
export { IStringMap } from './IStringMap'; | ||
export { IEventEmitter } from './IEventEmitter'; | ||
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger'; | ||
export { TUtilGet } from './IUtilGet'; |
export { IStringMap } from './IStringMap'; | ||
export { IEventEmitter } from './IEventEmitter'; | ||
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger'; | ||
export { TUtilGet } from './IUtilGet'; |
export { IStringMap } from './IStringMap' | ||
export { IEventEmitter } from './IEventEmitter' | ||
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger' | ||
export { TUtilGet } from './IUtilGet' |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"main": "lib/es5/index.js", | ||
@@ -37,4 +37,4 @@ "types": "typings/index.d.ts", | ||
"devDependencies": { | ||
"@types/jest": "^24.0.4", | ||
"@types/node": "^11.9.3", | ||
"@types/jest": "^24.0.6", | ||
"@types/node": "^11.9.4", | ||
"@types/lodash": "^4.14.121", | ||
@@ -49,4 +49,4 @@ "@types/parsimmon": "^1.10.0", | ||
"typescript": "3.3.3", | ||
"dtslint": "^0.4.2" | ||
"dtslint": "^0.4.4" | ||
} | ||
} |
@@ -31,2 +31,9 @@ declare module '@qiwi/substrate-types/lib/es5/IEventEmitter' { | ||
} | ||
declare module '@qiwi/substrate-types/lib/es5/IUtilGet' { | ||
type TUtilGetPath = Array<string | number> | string; | ||
type TUtilGetObject = object; | ||
type TUtilGetDefaultValue = any; | ||
type TUtilGetResponse = any; | ||
type TUtilGet = (obj: TUtilGetObject, path: TUtilGetPath, defaultValue?: TUtilGetDefaultValue) => TUtilGetResponse; | ||
} | ||
declare module '@qiwi/substrate-types/lib/es5/index' { | ||
@@ -36,2 +43,3 @@ export { IStringMap } from '@qiwi/substrate-types/lib/es5/IStringMap'; | ||
export { ILogger, TLogLevel, ILoggerMethod } from '@qiwi/substrate-types/lib/es5/ILogger'; | ||
export { TUtilGet } from '@qiwi/substrate-types/lib/es5/IUtilGet'; | ||
} | ||
@@ -38,0 +46,0 @@ declare module '@qiwi/substrate-types' { |
@@ -42,2 +42,13 @@ /** | ||
} | ||
declare module "@qiwi/substrate-types/lib/es5/IUtilGet" { | ||
declare export type TUtilGetPath = Array<string | number> | string; | ||
declare export type TUtilGetObject = { [key: string]: any }; | ||
declare export type TUtilGetDefaultValue = any; | ||
declare export type TUtilGetResponse = any; | ||
declare export type TUtilGet = ( | ||
obj: TUtilGetObject, | ||
path: TUtilGetPath, | ||
defaultValue?: TUtilGetDefaultValue | ||
) => TUtilGetResponse; | ||
} | ||
declare module "@qiwi/substrate-types/lib/es5/index" { | ||
@@ -55,2 +66,4 @@ declare export { IStringMap } from "@qiwi/substrate-types/lib/es5/IStringMap"; | ||
} from "@qiwi/substrate-types/lib/es5/ILogger"; | ||
declare export { TUtilGet } from "@qiwi/substrate-types/lib/es5/IUtilGet"; | ||
} | ||
@@ -57,0 +70,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
13348
40
228