(type: Type<any>)
| 78 | } |
| 79 | |
| 80 | export function getTypeName(type: Type<any>): string { |
| 81 | // Return the name of the type or the first line of its stringified version. |
| 82 | return (type as any).overriddenName || type.name || type.toString().split('\n')[0]; |
| 83 | } |
| 84 | |
| 85 | export function getDowngradedModuleCount($injector: IInjectorService): number { |
| 86 | return $injector.has(DOWNGRADED_MODULE_COUNT_KEY) |
no test coverage detected
searching dependent graphs…