mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* build: set latest SHA commit as system environment variable for chrome build * build: set latest SHA commit as sys variable for demo build * feat: create application environment abstraction to reference environment variables inside the ng-devtools library * test: fix devtools component test
16 lines
252 B
TypeScript
16 lines
252 B
TypeScript
export interface Process {
|
|
env: Env;
|
|
}
|
|
|
|
interface Env {
|
|
LATEST_SHA: string;
|
|
}
|
|
|
|
export interface Environment {
|
|
production: boolean;
|
|
process: Process;
|
|
}
|
|
|
|
export abstract class ApplicationEnvironment {
|
|
abstract get environment(): Environment;
|
|
}
|