From 529e8302f6ca26fc35e03cc89d3875a58846e0cd Mon Sep 17 00:00:00 2001 From: Keitaroh Kobayashi Date: Tue, 24 Dec 2024 09:57:28 +0900 Subject: [PATCH] =?UTF-8?q?NormalizeResult=20=E5=9E=8B=E3=82=92export?= =?UTF-8?q?=E3=81=99=E3=82=8B=20(#254)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main-node.ts | 2 ++ src/main.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main-node.ts b/src/main-node.ts index 67b99b5691..56f8e314fd 100644 --- a/src/main-node.ts +++ b/src/main-node.ts @@ -3,6 +3,8 @@ import { __internals, FetchOptions, FetchResponseLike } from './config' import { promises as fs } from 'node:fs' import { fetch } from 'undici' +export type { NormalizeResult } from './types' + export const requestHandlers = { file: async (fileURL: URL, options?: FetchOptions) => { const o = options || {} diff --git a/src/main.ts b/src/main.ts index 0a6ca7a362..0b8788d658 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,7 @@ import * as Normalize from './normalize' +export type { NormalizeResult } from './types' + export const version = Normalize.version export const config = Normalize.config export const normalize = Normalize.normalize