Skip to content

Commit

Permalink
Merge pull request #1 from lordrip/fix/camel-types
Browse files Browse the repository at this point in the history
fix(camel-types): Replace Exclude with Omit to update RouteDefinition
  • Loading branch information
igarashitm authored Sep 7, 2023
2 parents f724eaa + ea0d58f commit 238c829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/models/camel-entities/flows/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import { VisualizationNode } from '../../visualization';
import { BaseCamelEntity, EntityType } from '../base-entity';
import { CamelRouteStep } from './step';

interface FromDefinition extends Exclude<CamelFromDefinition, 'steps'> {
interface FromDefinition extends Omit<CamelFromDefinition, 'steps'> {
steps: CamelRouteStep[];
}

interface RouteDefinition extends Exclude<CamelRouteDefinition, 'from'> {
interface RouteDefinition extends Omit<CamelRouteDefinition, 'from'> {
from: FromDefinition;
}

Expand Down

0 comments on commit 238c829

Please sign in to comment.