Skip to content

Commit

Permalink
Fix prefix type, should be number
Browse files Browse the repository at this point in the history
  • Loading branch information
nykula committed Feb 9, 2018
1 parent 25886cc commit 75cdd8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nice-ip.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export function bin(ip: string, prefix?: string): string;
export function bin(ip: string, prefix?: number): string;

export function bin6(ip: string, prefix?: string): string;
export function bin6(ip: string, prefix?: number): string;

export function binPart6(x: string): string;

export function expand6(ip: string): string;

export function bin4(ip: string, prefix?: string): string;
export function bin4(ip: string, prefix?: number): string;

export function binPart4(x: string): string;

Expand Down

0 comments on commit 75cdd8e

Please sign in to comment.