From 308f2c22ba02b335258bc275153e5619c265c266 Mon Sep 17 00:00:00 2001 From: thorn0 Date: Tue, 6 Oct 2015 15:47:35 +0300 Subject: [PATCH] AngularJS: support calling angular.bootstrap on the document --- angularjs/angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 725729752..a44ac2955 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -61,7 +61,7 @@ declare module angular { * @param config an object for defining configuration options for the application. The following keys are supported: * - `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code. */ - bootstrap(element: string|Element|JQuery, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService; + bootstrap(element: string|Element|JQuery|Document, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService; /** * Creates a deep copy of source, which should be an object or an array.