Javascript – What exactly does {} mean in TypeScript?
I saw the following viewpoint on the React TypeScript Cheatsheet website: "An empty interface, {} and Object all represent "any non-nullish value"—not "an empty object" as you might think." For example: let value: {}; value = 1; value = "foo";…