export type LoadingState = "not-started" | "loading" | "finished" export interface Fetched { data: T; state: LoadingState; }