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:
romiem
2016-07-20 01:24:18 +01:00
committed by Mohamed Hegazy
parent 92d2d87d8a
commit be44d2fa33

View File

@@ -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 {
/**