JSON to TypeScript — Generate Interfaces
JSON
TYPESCRIPT
1
export interface Root {2
app: string;3
version: string;4
private: boolean;5
clientSide: boolean;6
features: string[];7
limits: Limits;8
author: Author;9
tags: null;10
}11
12
export interface Author {13
name: string;14
handle: string;15
verified: boolean;16
}17
18
export interface Limits {19
maxBytes: number;20
timeoutMs: number;21
}generated3 types