From 17f7f965f515e7085e085b42f7137c06f50f70e9 Mon Sep 17 00:00:00 2001 From: Juras Norkus Date: Fri, 9 Sep 2016 16:38:06 +0300 Subject: [PATCH] angular.d.ts: add isObject (#11144) This allows user-defined type guards for specific objects. --- angularjs/angular.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index ec3b9abf9299ec..1831bc0493e933 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -125,6 +125,7 @@ declare namespace angular { isFunction(value: any): value is Function; isNumber(value: any): value is number; isObject(value: any): value is Object; + isObject(value: any): value is T; isString(value: any): value is string; isUndefined(value: any): boolean; lowercase(str: string): string;