Given a JSON output of an api:
{ \"id\": 13, \"name\": \"horst\", \"cars\": [{ \"brand\": \"VW\", \"maxSpeed\": 120, \"is
Found a npm package that converts a arbitrary JSON file without a schema into a TS interface: https://www.npmjs.com/package/json-to-ts
The author also provided a VSCode plugin.