@qiwi/substrate-types
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -0,1 +1,8 @@ | ||
# [@qiwi/substrate-types-v1.9.1](https://github.com/qiwi/substrate/compare/v1.9.0...v1.9.1) (2019-04-04) | ||
### Bug Fixes | ||
* **types:** make ILogger to be compatible with standard console ([888a85f](https://github.com/qiwi/substrate/commit/888a85f)) | ||
# [@qiwi/substrate-types-v1.9.0](https://github.com/qiwi/substrate/compare/v1.8.0...v1.9.0) (2019-04-01) | ||
@@ -2,0 +9,0 @@ |
@@ -1,2 +0,2 @@ | ||
export declare type ILoggerMethod = (...args: any[]) => undefined | null; | ||
export declare type ILoggerMethod = (...args: any[]) => void; | ||
export declare type TLogLevel = number; | ||
@@ -3,0 +3,0 @@ export interface ILogger { |
@@ -1,2 +0,2 @@ | ||
export declare type ILoggerMethod = (...args: any[]) => undefined | null; | ||
export declare type ILoggerMethod = (...args: any[]) => void; | ||
export declare type TLogLevel = number; | ||
@@ -3,0 +3,0 @@ export interface ILogger { |
// Inherits log4j logging levels contract and Logback values | ||
export type ILoggerMethod = (...args: any[]) => undefined | null | ||
export type ILoggerMethod = (...args: any[]) => void | ||
@@ -11,3 +11,3 @@ export type TLogLevel = number | ||
info: ILoggerMethod, | ||
log: ILoggerMethod, | ||
log: ILoggerMethod, // Legacy, use .info() instead | ||
warn: ILoggerMethod, | ||
@@ -14,0 +14,0 @@ error: ILoggerMethod, |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"main": "lib/es5/index.js", | ||
@@ -5,0 +5,0 @@ "types": "typings/index.d.ts", |
@@ -26,3 +26,3 @@ declare module '@qiwi/substrate-types/lib/es5/IAnyMap' { | ||
declare module '@qiwi/substrate-types/lib/es5/ILogger' { | ||
type ILoggerMethod = (...args: any[]) => undefined | null; | ||
type ILoggerMethod = (...args: any[]) => void; | ||
type TLogLevel = number; | ||
@@ -29,0 +29,0 @@ interface ILogger { |
@@ -37,3 +37,3 @@ /** | ||
declare module "@qiwi/substrate-types/lib/es5/ILogger" { | ||
declare type ILoggerMethod = (...args: any[]) => void | null; | ||
declare type ILoggerMethod = (...args: any[]) => void; | ||
declare type TLogLevel = number; | ||
@@ -40,0 +40,0 @@ declare interface ILogger { |
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
29468