News for hackers. Stuff that matters.
Re:Tricks I wish I knew when I learned TypeScript by e1g on Tuesday October 12, 2021 @06:37AM (#28838140)
+1, and this practice can be verified by TS with the `noImplicitReturns` setting (https://www.typescriptlang.org/tsconfig#noImplicitReturns)
Re:Tricks I wish I knew when I learned TypeScript by cstrnt on Tuesday October 12, 2021 @06:43AM (#28838168)
Yeah, that rule is super powerful!