Created
October 17, 2022 10:11
-
-
Save j-catania/e409011a246332e64aea5d64ae993d16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface Todo { | |
userId: number; | |
id: number; | |
title: string; | |
completed: boolean; | |
} | |
export interface User { | |
id: number; | |
name: string; | |
username: string; | |
email: string; | |
address: Address; | |
phone: string; | |
website: string; | |
company: Company; | |
todos: Todo[]; | |
} | |
export interface Company { | |
name: string; | |
catchPhrase: string; | |
bs: string; | |
} | |
export interface Geo { | |
lat: string; | |
lng: string; | |
} | |
export interface Address { | |
street: string; | |
suite: string; | |
city: string; | |
zipcode: string; | |
geo: Geo; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment