develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 781

  1. Is there a #TypeScript or #ESLint option to prevent accidentally putting "[object Object]" into a string? Something that would catch: const foo = async () => 'test'; console.log(Hi: ${foo()}); I guess #tsetse could catch an unawaited Promise, but that's only one subcase.