Skip to content

Instantly share code, notes, and snippets.

@joanllenas
Created February 11, 2018 23:12
Show Gist options
  • Save joanllenas/f1b0d502bc762b5c5e76d28307b22530 to your computer and use it in GitHub Desktop.
Save joanllenas/f1b0d502bc762b5c5e76d28307b22530 to your computer and use it in GitHub Desktop.
Boolean approach - Slaying a UI Antipattern with Angular
export interface SunriseState {
isLoading: boolean;
error: string;
data: {
sunrise: string,
sunset: string,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment