Select a section of JSON (or just JavaScript object literal) e.g. { foo: 123 } and run the command JSON to TypeSript to get a TypeScript definition for the object literal.
{ foo: 123 }
JSON to TypeSript