We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a8e0d commit 339f704Copy full SHA for 339f704
src/modules/tsconfig.aot.json
@@ -1,7 +1,7 @@
1
{
2
"compilerOptions": {
3
"target": "es5",
4
- "module": "es2015",
+ "module": "commonjs",
5
"sourceMap": true,
6
"moduleResolution": "node",
7
"emitDecoratorMetadata": true,
src/modules/util/window/window-server.module.ts
@@ -10,7 +10,7 @@ import { WindowService } from './window.service'
10
// tslint:disable-next-line:no-class
11
@NgModule()
12
export class WindowServerModule {
13
- static forRoot(windowObject: any): ModuleWithProviders {
+ static forRoot(windowObject?: any): ModuleWithProviders {
14
return {
15
ngModule: WindowServerModule,
16
providers: [
0 commit comments