json2ts icon indicating copy to clipboard operation
json2ts copied to clipboard

Convert a JSON to TypeScript interfaces.

Results 8 json2ts issues
Sort by recently updated
recently updated
newest added

It's awesome! I want to tell others and share this. 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

Converting a json which keys contains non alphanumeric characters will fail: ``` { "src/templates/header.hbs": "{{title}}" } ``` fails - Not sure if it is fixable - but at least this...

The `*.js` and `*.js.map` files gives all the necessary details for clients to work with this library without the `*.ts` files. So this makes them not get shipped with the...

Solved a typed function error when import the module in angular 2 application

I have a json below: ```ts { name: 'Ziu', age: 18, friends: [ { name: 'Kobe', age: 19, isVip: true }, { name: 'James', age: 20 } ] } ```...

Hey! Please, review this issue. Convert method of Json2Ts instance is crashed with an empty array as argument. ```JavaScript import { Json2Ts } from 'json2ts/src/json2ts'; const json = []; const...

I use script in html but... ![image](https://github.com/GregorBiswanger/json2ts/assets/15758574/12ee5f9c-5bfb-4e10-a69b-4ad29a05a6d1)