From fdc6bde01e7ea58cd8aa4a909eab0e7e4cdda84f Mon Sep 17 00:00:00 2001 From: Johan Levin Date: Mon, 13 Aug 2018 13:19:14 +0200 Subject: [PATCH] Add cidr property to NetworkInterfaceBase interface --- types/node/index.d.ts | 1 + types/node/v8/index.d.ts | 1 + types/node/v9/index.d.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 9753d31cc6..e673039fe9 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1710,6 +1710,7 @@ declare module "os" { netmask: string; mac: string; internal: boolean; + cidr: string | null; } export interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { diff --git a/types/node/v8/index.d.ts b/types/node/v8/index.d.ts index 729a0c0da8..af15c21fda 100644 --- a/types/node/v8/index.d.ts +++ b/types/node/v8/index.d.ts @@ -1588,6 +1588,7 @@ declare module "os" { netmask: string; mac: string; internal: boolean; + cidr: string | null; } export interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { diff --git a/types/node/v9/index.d.ts b/types/node/v9/index.d.ts index ba7347e849..2a110b6c9b 100644 --- a/types/node/v9/index.d.ts +++ b/types/node/v9/index.d.ts @@ -1677,6 +1677,7 @@ declare module "os" { netmask: string; mac: string; internal: boolean; + cidr: string | null; } export interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {