Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit a936361

Browse files
committed
fix lint error
1 parent 5a338fd commit a936361

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/lib/utils/styling/browser-provider.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
import {APP_BOOTSTRAP_LISTENER, PLATFORM_ID, InjectionToken, ComponentRef} from '@angular/core';
8+
import {APP_BOOTSTRAP_LISTENER, PLATFORM_ID, InjectionToken} from '@angular/core';
99
import {DOCUMENT, isPlatformBrowser} from '@angular/common';
1010

1111
/**
@@ -30,7 +30,7 @@ export function removeStyles(_document: Document, platformId: Object) {
3030
* Provider to remove SSR styles on the browser
3131
*/
3232
export const BROWSER_PROVIDER = {
33-
provide: <InjectionToken<((compRef: ComponentRef<any>) => void)[]>>APP_BOOTSTRAP_LISTENER,
33+
provide: <InjectionToken<(() => void)[]>>APP_BOOTSTRAP_LISTENER,
3434
useFactory: removeStyles,
3535
deps: [DOCUMENT, PLATFORM_ID],
3636
multi: true

tools/gulp/tasks/unit-test-ssr.ts

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ const {patchTestBed} = require(join(projectDir, 'test/patch-testbed'));
1010
* Gulp tasks to run the unit tests in SSR mode
1111
* This sets the PLATFORM_ID flag to the server and
1212
* sets the DOCUMENT value to the Domino instance
13-
* @TODO(vikram): Please take a close look at the order
14-
* of the imports below. Is this the canonical way of
15-
* setting up the testing more for SSR?
1613
*/
1714
task('test:ssr', [':test:build'], (done: () => void) => {
1815

0 commit comments

Comments
 (0)