From acf40aac5233d18cf38a55f5836d2f1a6f5747c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 7 Nov 2024 11:31:05 +0100 Subject: [PATCH] refactor: silence neostandard import rules error (#3776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/neostandard/neostandard/actions/runs/11543696852/job/32128394927?pr=197 Signed-off-by: Jérôme Benoit --- index.d.ts | 2 +- test/imports/undici-import.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 83a786d6a03..0883fc7cc37 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,3 +1,3 @@ -export * from './types/index' import Undici from './types/index' export default Undici +export * from './types/index' diff --git a/test/imports/undici-import.ts b/test/imports/undici-import.ts index 776a561c507..8be95cdd009 100644 --- a/test/imports/undici-import.ts +++ b/test/imports/undici-import.ts @@ -1,6 +1,5 @@ import { expectType } from 'tsd' -import { Dispatcher, request } from '../../' -import { interceptors } from '../../' +import { Dispatcher, interceptors, request } from '../../' async function exampleCode () { const retry = interceptors.retry()