mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Update angular-environment.d.ts (#10096)
I've only added the read method because it's the one I use, but technically all the methods available on the envService are actually available on the envServiceProvider too.
This commit is contained in:
5
angular-environment/angular-environment.d.ts
vendored
5
angular-environment/angular-environment.d.ts
vendored
@@ -14,6 +14,11 @@ declare namespace angular.environment {
|
||||
* loads the correct environment variables.
|
||||
*/
|
||||
check: () => void;
|
||||
/**
|
||||
* Retrieves the correct version of a
|
||||
* variable for the current environment.
|
||||
*/
|
||||
read: (key: string) => any;
|
||||
}
|
||||
interface Service {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user