( source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string, )
| 509 | * Custom function to insert a provider into NgModule. It also imports it. |
| 510 | */ |
| 511 | export function addProviderToModule( |
| 512 | source: ts.SourceFile, |
| 513 | modulePath: string, |
| 514 | classifiedName: string, |
| 515 | importPath: string, |
| 516 | ): Change[] { |
| 517 | return addSymbolToNgModuleMetadata(source, modulePath, 'providers', classifiedName, importPath); |
| 518 | } |
| 519 | |
| 520 | /** |
| 521 | * Custom function to insert an export into NgModule. It also imports it. |
no test coverage detected