From e55fa3c32261fb62504fad78037d778160320500 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:05:25 +0300 Subject: [PATCH 1/2] Changed type re-export to `export type` --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index a89fb6d..f39bb48 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ /*! - * Copyright © 2024 Cloudnode OÜ. + * Copyright © 2024–2026 Cloudnode OÜ. * * This file is part of @cldn/ip. * @@ -15,10 +15,10 @@ * If not, see . */ -export {IP} from "./IP.js"; +export type {IP} from "./IP.js"; export {IPAddress} from "./IPAddress.js"; export {IPv4} from "./IPv4.js"; export {IPv6} from "./IPv6.js"; -export {Network} from "./Network.js"; +export type {Network} from "./Network.js"; export {Subnet} from "./Subnet.js"; export {SubnetList} from "./SubnetList.js"; From 25bdcb4c7656c4f76eddd11cffd04a550ec4f5e9 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:06:44 +0300 Subject: [PATCH 2/2] enabled isolated modules --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index fd9e9d2..75ad500 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "target": "esnext", "module": "Node16", "moduleResolution": "Node16", + "isolatedModules": true, "inlineSourceMap": true, "outDir": "./dist", "declaration": true,