import { parse } from 'ip-bigint' ; import { Vector , VectorOptions } from '../Vector' ; import { VectorType , DataBuckets } from '../interfaces' ; export class IPVector extends Vector < string > { toJSONCompatibleValue = undefined ; constructor ( data , options ) { super ( VectorType . IP , data , options ) ; } getComparableValue ( value ) { return parse ( value ) . number ; } }