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

This commit is contained in:
Khải authored and GitHub committed 2024-10-01 13:33:13 +02:00
1 parent 81bd9427ad
commit c43386031d
1 file changed
+17 -5
+17 -5
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?: {