The 'in' operator guard did not narrow the GroupPermissionKey union for indexing, failing the CI typecheck (TS7053). A typed Map with .get() needs no narrowing and preserves the bundling behavior.
The 'in' operator guard did not narrow the GroupPermissionKey union for indexing, failing the CI typecheck (TS7053). A typed Map with .get() needs no narrowing and preserves the bundling behavior.