mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(ionic-error-handler): cosmetically improve documentation (#12968)
This commit is contained in:
committed by
Ken Sodemann
parent
a48d02a966
commit
794d88d455
@@ -10,13 +10,13 @@ import { ErrorHandler } from '@angular/core';
|
||||
* ### IonicErrorHandler Example
|
||||
*
|
||||
* ```typescript
|
||||
* import { NgModule, ErrorHandler } from '@angular/core';
|
||||
* import { ErrorHandler, NgModule } from '@angular/core';
|
||||
* import { IonicErrorHandler } from 'ionic-angular';
|
||||
*
|
||||
* @NgModule({
|
||||
* providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler }]
|
||||
* })
|
||||
* class AppModule {}
|
||||
* class AppModule { }
|
||||
* ```
|
||||
*
|
||||
*
|
||||
@@ -35,7 +35,7 @@ import { ErrorHandler } from '@angular/core';
|
||||
* @NgModule({
|
||||
* providers: [{ provide: ErrorHandler, useClass: MyErrorHandler }]
|
||||
* })
|
||||
* class AppModule {}
|
||||
* class AppModule { }
|
||||
* ```
|
||||
*
|
||||
* More information about Angular's [`ErrorHandler`](https://angular.io/docs/ts/latest/api/core/index/ErrorHandler-class.html).
|
||||
|
||||
Reference in New Issue
Block a user