Strange service export
donbeave opened this issue · comments
Alexey Zhokhov commented
Hello!
Thank you for this module. I would like to ask one question, I'm using this module probably in some not-standard way, like this:
import { ɵb } from "ngx-gravatar";
@Component({
selector: 'user-component',
templateUrl: 'user.component.html'
})
export class UserComponent {
constructor(private ngxGravatarService: ɵb) {
}
getAvatarUrl(): String {
return this.ngxGravatarService.generateGravatarUrl(this.authService.currentUser.email);
}
// .....
}
My question is regarding this alias "import { ɵb }", it comes from a file node_modules/ngx-gravatar/ngx-gravatar.d.ts
:
/**
* Generated bundle index. Do not edit.
*/
export * from './public-api';
export { GRAVATAR_CONFIG_TOKEN as ɵc } from './lib/gravatar-config.token';
export { NgxGravatarDirective as ɵa } from './lib/ngx-gravatar.directive';
export { NgxGravatarService as ɵb } from './lib/ngx-gravatar.service';
Is there any way to remove these aliases, like NgxGravatarService as ɵb
.
Best regards,
Alexey Zhokhov.
T commented
From version 8.1, NgxGravatarService is exported.