Skip to content

Commit 063d4e6

Browse files
refactor: silence neostandard import rules error (#3776)
https://github.com/neostandard/neostandard/actions/runs/11543696852/job/32128394927?pr=197 Signed-off-by: Jérôme Benoit <[email protected]>
1 parent 20b9c83 commit 063d4e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export * from './types/index'
21
import Undici from './types/index'
32
export default Undici
3+
export * from './types/index'

test/imports/undici-import.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expectType } from 'tsd'
2-
import { Dispatcher, request } from '../../'
3-
import { interceptors } from '../../'
2+
import { Dispatcher, interceptors, request } from '../../'
43

54
async function exampleCode () {
65
const retry = interceptors.retry()

0 commit comments

Comments
 (0)