Six tasks with hidden checks: ASP.NET validation and 404 handling, C# cancellation, and TypeScript overlap, deep merge, and debounce fixes, checked with dotnet run and node --test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
171 B
TypeScript
9 lines
171 B
TypeScript
export interface Booking {
|
|
start: number;
|
|
end: number;
|
|
}
|
|
|
|
export function overlaps(a: Booking, b: Booking): boolean {
|
|
return a.start <= b.end && b.start <= a.end;
|
|
}
|