Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/e037f588e4fd76aa0b6aac91d6c62d6a to your computer and use it in GitHub Desktop.
Save gdyrrahitis/e037f588e4fd76aa0b6aac91d6c62d6a to your computer and use it in GitHub Desktop.
declare module AppConfig {
interface Route {
path: string;
templateUrl: string;
controller: string;
}
interface Department {
name: string;
maxAllowedEmployees: number;
}
interface Modal {
animation: boolean;
size: string;
ariaLabelledBy: string;
ariaDescribedBy: string;
templateUrl: string;
controller: string;
controllerAs: string;
}
interface Client {
basePath: string;
html5Mode: boolean,
routes: Route[];
departments: Department[],
modal: Modal
}
export interface Configuration {
client: Client;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment