From 5b2dc4ec9ccdeaaaa53fc9e6249c0cf01141e9b6 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Mon, 1 Dec 2025 13:35:14 +0100 Subject: [PATCH] Reexport TypeScript types Thanks to @Jym77 for the reproduction: https://github.com/Jym77/web-features-ts-esm Co-authored-by: Jean-Yves Moyen <19969498+Jym77@users.noreply.github.com> --- packages/web-features/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-features/index.ts b/packages/web-features/index.ts index 54ae8ee16c0..6c40af6e500 100644 --- a/packages/web-features/index.ts +++ b/packages/web-features/index.ts @@ -1,7 +1,7 @@ import { readFileSync } from "node:fs"; import { fileURLToPath } from "node:url"; - -import { WebFeaturesData } from "./types"; +import type { WebFeaturesData } from "./types.d.ts"; +export type * from "./types.d.ts"; const jsonPath = fileURLToPath(new URL("./data.json", import.meta.url)); const { browsers, features, groups, snapshots } = JSON.parse(