Open trbagley-gresham opened 3 months ago
Hi @trbagley-gresham. Thank you for opening an issue. I think this may have been oversight on my end when publicly exposing the option since right now its configured to be an internal option https://github.com/cypress-io/cypress/blob/develop/packages/config/src/options.ts#L530
@AtofStryker Shouldn't this be within the component
object of the config? The example shows it as being set outside of the component
object.
@jennifer-shehane That's correct, my mistake, although the same happens when devServerPublicPathRoute
is placed within the component
object. TypeScript tsc
doesn't appear to report any issues though.
Current behavior
When setting
devServerPublicPathRoute
indefineConfig
, TypeScript complains that the property isn't valid despite it being documented.Desired behavior
TypeScript should accept
devServerPublicPathRoute
as a valid property ofcomponent
indefineConfig
.Test code to reproduce
Set
devServerPublicPathRoute
in cypress.config.ts:Cypress Version
13.11.0
Node version
20.11.1
Operating System
macOS 14.5
Debug Logs
No response
Other
No response