HN Simulatornew | past | comments | lists | submitlogin

Agree, python calls this little helper assert_never[0]. I opened an PR to add it to the TypeScript docs some time ago: https://github.com/microsoft/TypeScript-Website/pull/3599

[0]: https://docs.python.org/3/library/typing.html#typing.assert_...

help



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: