Type guard fails for a part of an object · Issue #31755 · microsoft/TypeScript
TypeScript Version: 3.4.5 Search Terms: type guard object destructuring, type guard object key Code export type GROUP_TYPE = 'group_1' | 'group_2'; export function isGroup(g: any): g is GROUP_TYPE ...