Open ylno opened 5 years ago
When i try to use the newest version of the photoviewer in my ionic project i am getting the following typescript error:
[app-scripts] [11:16:22] typescript: plugins/com-sarriaroman-photoviewer/source/PhotoViewer.ts, line: 16 [app-scripts] Duplicate identifier 'PhotoViewer'. [app-scripts] L15: class PhotoViewer { [app-scripts] L17: public static show(url: string, title: string = '', options: IPhotoViewerOptions = { [app-scripts] [11:16:22] typescript: plugins/com-sarriaroman-photoviewer/www/PhotoViewer.d.ts, line: 13 [app-scripts] Duplicate identifier 'PhotoViewer'. [app-scripts] L13: declare class PhotoViewer { [app-scripts] L14: static show(url: string, title?: string, options?: IPhotoViewerOptions): void;
I solved the problem sticking on v1.1.18 by now.
When i try to use the newest version of the photoviewer in my ionic project i am getting the following typescript error:
[app-scripts] [11:16:22] typescript: plugins/com-sarriaroman-photoviewer/source/PhotoViewer.ts, line: 16 [app-scripts] Duplicate identifier 'PhotoViewer'. [app-scripts] L15: class PhotoViewer { [app-scripts] L17: public static show(url: string, title: string = '', options: IPhotoViewerOptions = { [app-scripts] [11:16:22] typescript: plugins/com-sarriaroman-photoviewer/www/PhotoViewer.d.ts, line: 13 [app-scripts] Duplicate identifier 'PhotoViewer'. [app-scripts] L13: declare class PhotoViewer { [app-scripts] L14: static show(url: string, title?: string, options?: IPhotoViewerOptions): void;
I solved the problem sticking on v1.1.18 by now.