refactor: change provide(...) for {provide: ...}
- provide() is deprecated, - {} syntax is required by the offline compiler
This commit is contained in:
@ -27,7 +27,7 @@ class _ArrayLogger {
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* bootstrap(MyApp, [provide(ExceptionHandler, {useClass: MyExceptionHandler})])
|
||||
* bootstrap(MyApp, {provide: ExceptionHandler, useClass: MyExceptionHandler}])
|
||||
*
|
||||
* ```
|
||||
* @stable
|
||||
|
Reference in New Issue
Block a user