JSON to TypeScript
Paste JSON and get clean, modern TypeScript types with sensible naming.
Input
21 linesOutput
3 declarationsexport interface IRootInterface {
id: string;
name: string;
owner: IOwner;
tools: ITool[];
tags: string[];
launchedAt: null;
}
export interface IOwner {
name: string;
role: string;
}
export interface ITool {
id: number;
name: string;
ready?: boolean;
}