Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
CaerusKaru committed Feb 16, 2018
1 parent 5a338fd commit a936361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils/styling/browser-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {APP_BOOTSTRAP_LISTENER, PLATFORM_ID, InjectionToken, ComponentRef} from '@angular/core';
import {APP_BOOTSTRAP_LISTENER, PLATFORM_ID, InjectionToken} from '@angular/core';
import {DOCUMENT, isPlatformBrowser} from '@angular/common';

/**
Expand All @@ -30,7 +30,7 @@ export function removeStyles(_document: Document, platformId: Object) {
* Provider to remove SSR styles on the browser
*/
export const BROWSER_PROVIDER = {
provide: <InjectionToken<((compRef: ComponentRef<any>) => void)[]>>APP_BOOTSTRAP_LISTENER,
provide: <InjectionToken<(() => void)[]>>APP_BOOTSTRAP_LISTENER,
useFactory: removeStyles,
deps: [DOCUMENT, PLATFORM_ID],
multi: true
Expand Down
3 changes: 0 additions & 3 deletions tools/gulp/tasks/unit-test-ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ const {patchTestBed} = require(join(projectDir, 'test/patch-testbed'));
* Gulp tasks to run the unit tests in SSR mode
* This sets the PLATFORM_ID flag to the server and
* sets the DOCUMENT value to the Domino instance
* @TODO(vikram): Please take a close look at the order
* of the imports below. Is this the canonical way of
* setting up the testing more for SSR?
*/
task('test:ssr', [':test:build'], (done: () => void) => {

Expand Down

0 comments on commit a936361

Please sign in to comment.