MakeTypes icon indicating copy to clipboard operation
MakeTypes copied to clipboard

Make TypeScript types and proxy objects from example JSON objects. Can use proxy objects to dynamically type check JSON at runtime.

Results 18 MakeTypes issues
Sort by recently updated
recently updated
newest added

Hi there. I'm doing security updates on a project and `yargs-parser` got flagged with a vulnerability. This PR updates `MakeTypes`'s `yargs` dependency to version from ^6.5.0 to ^17.0.0 `npm audit...

Support field names that are not proper JavaScript identifiers. e.g.: `")hello"` In the non-identifier case, switch to using index `[""]` notation for accessing properties on JS objects.

bug
enhancement

My output's proxy classes are coming out with numeric names like "export class 3Proxy" The typescript compiler doesn't accept them - I'm using "target": "es2015", in tsconfig.json I'd change them...

I noticed that when I generate the types by pasting JSON that contains "+" on the key, it will automatically pass it into the result, however, "+" is invalid in...

Reads from stdin and, by default, outputs interface to stdout. With the option -p, outputs proxy. "Write programs to handle text streams, because that is a universal interface."

Not sure how to properly name it. Here is a reproducible example: Input: ```json { "coord": [ { "lon": 14.42, "lat": 50.09 }, true ] } ``` Expected: ```ts export...

Would it be possible to add an existing file with type definitions as input so only not existing types would be generated. This would be useful if some generated types...

Hi, When you use MakeType from your website, the generated Typescript proxies output contain a create function that never initialize the obj object. So in the error message, the full...

bug

e.g. before ```json [ { "ScriptId": "1", "ScriptCode": "NWRESTRN", }, { "ScriptId": "2", "ScriptCode": "REPHSRESHP", } ] ``` after ```typescript Interface Script { ScriptId: '1' | '2', ScriptCode: 'NWRESTRN' |...