fix(ivy): don't crash in listLazyRoutes() (#25080)

This commit replaces the "not implemented" error when calling
listLazyRoutes() with an empty result, which will allow testing
in the CLI before listLazyRoutes() is implemented.

PR Close #25080
This commit is contained in:
Alex Rickabaugh 2018-07-26 13:33:55 -07:00 committed by Igor Minar
parent 8de304c15a
commit 3169edd77a
1 changed files with 1 additions and 3 deletions

View File

@ -82,9 +82,7 @@ export class NgtscProgram implements api.Program {
.filter((result): result is Promise<void> => result !== undefined));
}
listLazyRoutes(entryRoute?: string|undefined): api.LazyRoute[] {
throw new Error('Method not implemented.');
}
listLazyRoutes(entryRoute?: string|undefined): api.LazyRoute[] { return []; }
getLibrarySummaries(): Map<string, api.LibrarySummary> {
throw new Error('Method not implemented.');