Skip to content
GitHub

RouteConflict

interface in meocord/testing Since 4.0.0

interface RouteConflict

Two patterns of one component type that rank equally and can both match a customId, as findRouteConflicts reports them.

Members

type

type: ComponentCommandType

The component type both patterns are declared for.

patterns

patterns: [string, string]

The two patterns.

runs Since 4.2.0

runs: string

The pattern that runs for the customIds both match: the one listed first. A test reads it; toEqual doesn't compare it, so an assertion on type and patterns alone holds.