public render()

in src/declaration.ts [36:46]


  public render(): string {
    let what;
    if (!this.submoduleName) {
      what = `* as ${this.importName}`;
    } else if (this.submoduleName === this.importName) {
      what = `{ ${this.importName} }`;
    } else {
      what = `{ ${this.submoduleName} as ${this.importName} }`;
    }
    return `import ${what} from '${this.moduleName}';`;
  }