Open aslilac opened 2 years ago
const $Hi = $interface({ type: 'hi' }); const $Hey = $interface({ type: 'hey' }); const $Greeting = union(hi, hey); // Desired result: is('hi', $Greeting['type']); // true is('hey', $Greeting['type']); // true