Home / File/ types.ts — astro Source File

types.ts — astro Source File

Architecture documentation for types.ts, a typescript file in the astro codebase.

Entity Profile

Relationship Graph

Source Code

export interface IComment {
	user: string;
	time_ago: string;
	content: string;
	comments: IComment[];
}

export interface IStory {
	id: string;
	points: string;
	url: string;
	title: string;
	domain: string;
	type: string;
	time_ago: string;
	user: string;
	comments_count: number;
	comments: IComment[];
}

export interface IUser {
	error: string;
	id: string;
	created: string;
	karma: number;
	about: string;
}

Frequently Asked Questions

What does types.ts do?
types.ts is a source file in the astro codebase, written in typescript.
Where is types.ts in the architecture?
types.ts is located at examples/hackernews/src/types.ts (directory: examples/hackernews/src).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free