External module "material/ast"
Functions
addModuleImportToModule
- addModuleImportToModule(host: Tree, modulePath: string, moduleName: string, src: string): void
-
Parameters
-
host: Tree
-
modulePath: string
-
moduleName: string
-
src: string
Returns void
addModuleImportToRootModule
- addModuleImportToRootModule(host: Tree, moduleName: string, src: string, project: WorkspaceProject): void
-
Parameters
-
host: Tree
-
moduleName: string
-
src: string
-
project: WorkspaceProject
Returns void
getSourceFile
- getSourceFile(host: Tree, path: string): typescript.SourceFile
-
Parameters
Returns typescript.SourceFile
Import and add module to specific module path.