News for hackers. Stuff that matters.
Re:Typescript: class vs. interface by dvlsg on Tuesday February 27, 2018 @04:07PM (#16477890)
It affects things like previews / mouse hovers in editors like vscode, too. Interfaces will show the interface name, types will show the structure.
Re:Typescript: class vs. interface by eridius on Tuesday February 27, 2018 @04:48PM (#16478281)
In VSCode if you want to see the structure of an interface, hold command (on macOS; not sure about windows/linux) while hovering.