Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
release(version): v5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akanass committed Mar 20, 2018
1 parent 70a6c6f commit df80d0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/module/interfaces/options.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { NgModuleFactory, StaticProvider, Type } from '@angular/core';
import { ɵa } from '@nguniversal/module-map-ngfactory-loader';
import { ɵa as ModuleMap } from '@nguniversal/module-map-ngfactory-loader';

/**
* These are the allowed options for the module
*/
export interface NgSetupOptions {
bootstrap: Type<{}> | NgModuleFactory<{}>;
lazyModuleMap: ɵa;
lazyModuleMap: ModuleMap;
staticContent: StaticContent;
providers?: StaticProvider[];
}
Expand Down
6 changes: 3 additions & 3 deletions src/module/services/engine/ng.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { HttpServerService, Inject, Injectable, Request, HTTPHandlerResponse, Re
import { Compiler, CompilerFactory, NgModuleFactory, StaticProvider, Type } from '@angular/core';
import { INITIAL_CONFIG, platformDynamicServer, renderModuleFactory } from '@angular/platform-server';
import { ResourceLoader } from '@angular/compiler';
import { ɵa, provideModuleMap } from '@nguniversal/module-map-ngfactory-loader';
import { ɵa as ModuleMap, provideModuleMap } from '@nguniversal/module-map-ngfactory-loader';

import { Observable } from 'rxjs/Observable';
import { toArray, filter, flatMap, map, tap } from 'rxjs/operators';
Expand Down Expand Up @@ -56,7 +56,7 @@ export class NgEngineService {
*
* store original function to stub it in tests
*/
private _provideModuleMap: (moduleMap: ɵa) => StaticProvider;
private _provideModuleMap: (moduleMap: ModuleMap) => StaticProvider;

/**
* Service constructor
Expand Down Expand Up @@ -246,7 +246,7 @@ export class NgEngineService {
* @private
*/
private _extraProviders(request: Request, reply: ReplyNoContinue, providers: StaticProvider[],
lazyModuleMap: ɵa, filePath: string): StaticProvider[] {
lazyModuleMap: ModuleMap, filePath: string): StaticProvider[] {
return providers!.concat(
providers!,
this._provideModuleMap(lazyModuleMap),
Expand Down

0 comments on commit df80d0d

Please sign in to comment.