Skip to content

Commit

Permalink
Update Typescript range definitions in include 'unicast'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jammnrose authored and whitequark committed Jul 24, 2018
1 parent d7f0a9b commit ff8ba7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ipaddr.js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

declare module "ipaddr.js" {

type IPv4Range = 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';
type IPv6Range = 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';
type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';
type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';

interface RangeList<T> {
[name: string]: [T, number] | [T, number][];
Expand Down

0 comments on commit ff8ba7a

Please sign in to comment.