ParentFull threadjameshart·One line of TS, then two lines of JS (with a type annotation in one of them)View on HN