From 7ade4cf92ad0fcbea6149c470d253b8c6ebdd6ad Mon Sep 17 00:00:00 2001 From: Jesus Rodriguez Date: Thu, 2 Nov 2017 00:45:43 +0100 Subject: [PATCH] docs(aio): fix linting for universal --- .../examples/universal/src/app/app.server.module.ts | 10 +++++----- aio/content/examples/universal/src/app/hero.service.ts | 2 +- .../universal/src/app/heroes/heroes.component.spec.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aio/content/examples/universal/src/app/app.server.module.ts b/aio/content/examples/universal/src/app/app.server.module.ts index 3d1c0fa9be6a1..b32046a59239b 100644 --- a/aio/content/examples/universal/src/app/app.server.module.ts +++ b/aio/content/examples/universal/src/app/app.server.module.ts @@ -1,9 +1,9 @@ -import {NgModule} from '@angular/core'; -import {ServerModule} from '@angular/platform-server'; -import {ModuleMapLoaderModule} from '@nguniversal/module-map-ngfactory-loader'; +import { NgModule } from '@angular/core'; +import { ServerModule } from '@angular/platform-server'; +import { ModuleMapLoaderModule } from '@nguniversal/module-map-ngfactory-loader'; -import {AppModule} from './app.module'; -import {AppComponent} from './app.component'; +import { AppModule } from './app.module'; +import { AppComponent } from './app.component'; @NgModule({ imports: [ diff --git a/aio/content/examples/universal/src/app/hero.service.ts b/aio/content/examples/universal/src/app/hero.service.ts index ba263e5636437..e05e28455914f 100644 --- a/aio/content/examples/universal/src/app/hero.service.ts +++ b/aio/content/examples/universal/src/app/hero.service.ts @@ -119,7 +119,7 @@ export class HeroService { // Let the app keep running by returning an empty result. return of(result as T); - } + }; } /** Log a HeroService message with the MessageService */ diff --git a/aio/content/examples/universal/src/app/heroes/heroes.component.spec.ts b/aio/content/examples/universal/src/app/heroes/heroes.component.spec.ts index 7ec3956eacaf4..9c3b1c4d9f779 100644 --- a/aio/content/examples/universal/src/app/heroes/heroes.component.spec.ts +++ b/aio/content/examples/universal/src/app/heroes/heroes.component.spec.ts @@ -22,4 +22,4 @@ describe('HeroesComponent', () => { it('should be created', () => { expect(component).toBeTruthy(); }); -}); \ No newline at end of file +});