You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exports in ng-simple-slideshow.d.ts are as following:
/**
* Generated bundle index. Do not edit.
*/
export * from './public_api';
export { SlideshowComponent as ɵa } from './src/app/modules/slideshow/slideshow.component';
export { SwipeService as ɵb } from './src/app/modules/slideshow/swipe.service';
So if you want to use typings for ng-simple-slideshow you have to import the component with import { ɵa as SlideshowComponent } from 'ng-simple-slideshow';
What is ɵa, ɵb, and how are they used? Why is the component and the service not exported directly, e.g.
/**
* Generated bundle index. Do not edit.
*/
export * from './public_api';
export { SlideshowComponent } from './src/app/modules/slideshow/slideshow.component';
export { SwipeService } from './src/app/modules/slideshow/swipe.service';
The text was updated successfully, but these errors were encountered:
Must be some weird ng-packagr config that I was unaware of. I will have to look into this. I never intended for the SwipeService to be used outside of the Component though.
The exports in
ng-simple-slideshow.d.ts
are as following:So if you want to use typings for ng-simple-slideshow you have to import the component with
import { ɵa as SlideshowComponent } from 'ng-simple-slideshow';
What is
ɵa
,ɵb
, and how are they used? Why is the component and the service not exported directly, e.g.The text was updated successfully, but these errors were encountered: