We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RouterEntryPoint
1 parent c8507a6 commit d05168eCopy full SHA for d05168e
packages/compiler-cli/src/ngtsc/routing/src/route.ts
@@ -15,18 +15,14 @@ export abstract class RouterEntryPoint {
15
16
abstract readonly moduleName: string;
17
18
- // Alias of moduleName.
+ // Alias of moduleName for compatibility with what `ngtools_api` returned.
19
abstract readonly name: string;
20
-
21
- abstract toString(): string;
22
}
23
24
class RouterEntryPointImpl implements RouterEntryPoint {
25
constructor(readonly filePath: string, readonly moduleName: string) {}
26
27
get name(): string { return this.moduleName; }
28
29
- toString(): string { return `${this.filePath}#${this.moduleName}`; }
30
31
32
export class RouterEntryPointManager {
0 commit comments