( source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string, )
| 497 | * Custom function to insert an NgModule into NgModule imports. It also imports the module. |
| 498 | */ |
| 499 | export function addImportToModule( |
| 500 | source: ts.SourceFile, |
| 501 | modulePath: string, |
| 502 | classifiedName: string, |
| 503 | importPath: string, |
| 504 | ): Change[] { |
| 505 | return addSymbolToNgModuleMetadata(source, modulePath, 'imports', classifiedName, importPath); |
| 506 | } |
| 507 | |
| 508 | /** |
| 509 | * Custom function to insert a provider into NgModule. It also imports it. |
no test coverage detected