Skip to content

Commit

Permalink
refactor: silence neostandard import rules error (nodejs#3776)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome-benoit authored and flakey5 committed Nov 14, 2024
1 parent 95b250d commit acf40aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './types/index'
import Undici from './types/index'
export default Undici
export * from './types/index'
3 changes: 1 addition & 2 deletions test/imports/undici-import.ts
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit acf40aa

Please sign in to comment.