Type alias AddObstacleResult<T>
AddObstacleResult<T>: { obstacle: T; status: number; success: true; } | { obstacle?: T; status: number; success: false; } Type declaration
obstacle: T
status: number
success: true
Type declaration
Optional
obstacle?: T
status: number
success: false