UNPKG

apollo-angular

Version:

Use your GraphQL data in your Angular app, with the Apollo Client

10 lines (9 loc) 494 B
import { Tree } from '@angular-devkit/schematics'; /** * Import and add module to the root module. * @param host {Tree} The source tree. * @param importedModuleName {String} The name of the imported module. * @param importedModulePath {String} The location of the imported module. * @param projectName {String} The name of the project. */ export declare function addModuleImportToRootModule(host: Tree, importedModuleName: string, importedModulePath: string, projectName?: string): void;