Hacker News new | ask | show | jobs
by eyelidlessness 1009 days ago
You can also use twoslash[1] caret comments in the playground to display type representations inline, even for uninitialized/declared values, so eg something like this should work:

  declare const boardstr: PGun10
  //            ^?
1: https://www.npmjs.com/package/@typescript/twoslash