Skip to content

Commit 4288f6b

Browse files
committed
refactor(spawn): convert inline Remap import to type import
1 parent 6f45222 commit 4288f6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/spawn.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import { getDefaultSpinner } from './spinner'
3939
import { stripAnsi } from './strings'
4040

4141
import type { EventEmitter } from 'node:events'
42+
import type { Remap } from './objects'
4243

4344
const abortSignal = getAbortSignal()
4445
const spinner = getDefaultSpinner()
@@ -430,7 +431,7 @@ interface WritableStreamType {
430431
* @property {number | undefined} uid - User identity (POSIX)
431432
* @property {boolean | undefined} windowsVerbatimArguments - Don't quote or escape arguments on Windows (requires shell: true). Use when you need exact argument control. Default: false
432433
*/
433-
export type SpawnOptions = import('./objects').Remap<
434+
export type SpawnOptions = Remap<
434435
NodeSpawnOptions & {
435436
spinner?: import('./spinner').Spinner | undefined
436437
stdioString?: boolean

0 commit comments

Comments
 (0)