From 75cdd8ee8a22839d9be305d79ea44678d19b8b85 Mon Sep 17 00:00:00 2001 From: makepost Date: Fri, 9 Feb 2018 17:31:54 +0200 Subject: [PATCH] Fix prefix type, should be number --- nice-ip.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nice-ip.d.ts b/nice-ip.d.ts index db7b8e6..977c187 100644 --- a/nice-ip.d.ts +++ b/nice-ip.d.ts @@ -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;