( config: ResolvingEdgeConfiguration, browserLocation: 'workspace' | 'ui', )
| 1092 | } |
| 1093 | |
| 1094 | export function applyEdgeDefaults( |
| 1095 | config: ResolvingEdgeConfiguration, |
| 1096 | browserLocation: 'workspace' | 'ui', |
| 1097 | ): AnyEdgeConfiguration { |
| 1098 | return config.request === 'attach' |
| 1099 | ? { ...edgeAttachConfigDefaults, browserAttachLocation: browserLocation, ...config } |
| 1100 | : { ...edgeLaunchConfigDefaults, browserLaunchLocation: browserLocation, ...config }; |
| 1101 | } |
| 1102 | |
| 1103 | export function applyEditorBrowserDefaults( |
| 1104 | config: ResolvingEditorBrowserConfiguration, |