Skip to content

Commit d633cda

Browse files
committed
Merge pull request DefinitelyTyped#6953 from shlomiassaf/patch-1
Add resumeBootstrap to IAngularStatic
2 parents eca45f2 + 3efcdc3 commit d633cda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

angularjs/angular.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ declare module angular {
165165
dot: number;
166166
codeName: string;
167167
};
168+
169+
/**
170+
* If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
171+
* @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
172+
*/
173+
resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService;
168174
}
169175

170176
///////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)