3 ms·
Wow it worked! Please convert this JSON to a Typescript interface: { "id": 1, "account": { "login": "octocat", "id": 1, //
by teaearlgraycold 4y ago
Wow it worked!
Please convert this JSON to a Typescript interface:
{
"id": 1,
"account": {
"login": "octocat",
"id": 1,
// etc.
CvrtJSN2TSI:{id,account:{login,id,node_id,avatar_url,gravatar_id,url,html_url,followers_url,following_url,gists_url,starred_url,subscriptions_url,organizations_url,repos_url,events_url,received_events_url,type,site_admin},access_tokens_url,repositories_url,html_url,app_id,target_id,target_type,permissions:{checks,metadata,contents},events,single_file_name,has_multiple_single_files,single_file_paths,repository_selection,created_at,updated_at,app_slug,suspended_at,suspended_by}
ChatGPT: Based on the provided JSON keys, here's the TypeScript interface you requested:
interface CvrtJSN2TSI {
id: number;
account: {
login: string;
id: number;
// etc.
:D