removed warning

This commit is contained in:
snoop 2017-07-28 19:45:09 +09:00
parent 677ef008cc
commit e82119cf67
2 changed files with 1 additions and 2 deletions

View File

@ -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 {

View File

@ -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;