Skip to content

Instantly share code, notes, and snippets.


gdyrrahitis/appconfig.d.ts Secret

Created Jul 13, 2018
What would you like to do?
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