-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
type XOR<bool1, bool2> = TODO
type-level-typescript-workshop/02-assignability-and-conditional-types/exercises.ts
Line 140 in a2234be
/** |
type-level-typescript-workshop/02-assignability-and-conditional-types/solution.ts
Line 131 in a2234be
namespace seven { |
alternative solution
type XOR<bool1, bool2> = bool1 extends bool2? false: true;
Metadata
Metadata
Assignees
Labels
No labels