Skip to content

Commit 3679c1d

Browse files
Can Kattwbenvinegar
authored andcommitted
re #818 add missing exports to angular 2 example (required by ahead of time compiler)
1 parent a3aa0f4 commit 3679c1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/integrations/angular2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Then, in your main module file (where ``@NgModule`` is called, e.g. app.module.t
6767
.config('___PUBLIC_DSN___')
6868
.install();
6969
70-
class RavenErrorHandler implements ErrorHandler {
70+
export class RavenErrorHandler implements ErrorHandler {
7171
handleError(err:any) : void {
7272
Raven.captureException(err.originalError);
7373
}
@@ -99,7 +99,7 @@ Angular CLI now uses Webpack to build instead of SystemJS. All you need to do is
9999
.config('___PUBLIC_DSN___')
100100
.install();
101101
102-
class RavenErrorHandler implements ErrorHandler {
102+
export class RavenErrorHandler implements ErrorHandler {
103103
handleError(err:any) : void {
104104
Raven.captureException(err.originalError);
105105
}

0 commit comments

Comments
 (0)