2 ms·TypeScript 3.4 has const assertions which solve the type widening issue you describe.by jahewson 7y agoTypeScript 3.4 has const assertions which solve the type widening issue you describe.