removed warning
This commit is contained in:
parent
677ef008cc
commit
e82119cf67
|
@ -9,7 +9,7 @@ export function int2ip(ipInt: number): string {
|
||||||
|
|
||||||
export function ip2int(ip: string): number {
|
export function ip2int(ip: string): number {
|
||||||
// tslint:disable-next-line:no-bitwise
|
// tslint:disable-next-line:no-bitwise
|
||||||
return ip.split('.').reduce<number>(function (ipInt, octet) { return (ipInt << 8) + parseInt(octet, 10); }, 0) >>> 0;
|
return ip.split('.').reduce<number>((ipInt: number, octet: string) => { return (ipInt << 8) + parseInt(octet, 10); }, 0) >>> 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function sec2date(ms: number): string {
|
export function sec2date(ms: number): string {
|
||||||
|
|
|
@ -12,7 +12,6 @@ import InfraOS from '@overflow/infra/api/model/InfraOS';
|
||||||
|
|
||||||
import * as Utils from '@overflow/commons/utils/Utils';
|
import * as Utils from '@overflow/commons/utils/Utils';
|
||||||
|
|
||||||
|
|
||||||
export interface StateProps {
|
export interface StateProps {
|
||||||
target?: Target;
|
target?: Target;
|
||||||
infra?: Infra;
|
infra?: Infra;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user