TypeScript: Preserve type refinements in closures created past last assignmentgithub.com/microsoft1 pointgoranmoomin2 years ago