refactor: break a long line into multiple lines (#8592)

This commit is contained in:
Khải
2024-10-01 18:33:13 +07:00
committed by GitHub
parent 81bd9427ad
commit c43386031d

View File

@@ -156,12 +156,24 @@ For options that may be used with `-r`, see "pnpm help recursive"',
export type RunOpts =
& Omit<RecursiveRunOpts, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>
& { recursive?: boolean }
& Pick<Config, 'bin' | 'dir' | 'engineStrict' | 'extraBinPaths' | 'pnpmHomeDir' | 'reporter' | 'scriptsPrependNodePath' | 'scriptShell' | 'shellEmulator' | 'enablePrePostScripts' | 'userAgent' | 'extraEnv' | 'nodeOptions'>
& Pick<Config,
| 'bin'
| 'dir'
| 'enablePrePostScripts'
| 'engineStrict'
| 'extraBinPaths'
| 'extraEnv'
| 'nodeOptions'
| 'pnpmHomeDir'
| 'reporter'
| 'scriptShell'
| 'scriptsPrependNodePath'
| 'shellEmulator'
| 'userAgent'
>
& (
& { recursive?: false }
& Partial<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
| { recursive: true }
& Required<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
| { recursive?: false } & Partial<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
| { recursive: true } & Required<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
)
& {
argv?: {