[Improvement] add type definition files (#361)
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { VanPopupMixin } from './mixins/popup';
|
||||
|
||||
export class VanImagePreview extends VanPopupMixin {
|
||||
images: string[];
|
||||
startPosition: number;
|
||||
}
|
||||
|
||||
export interface ImagePreview {
|
||||
(images: string[], startPosition?: number): VanImagePreview;
|
||||
}
|
||||
|
||||
export const ImagePreview: ImagePreview;
|
||||
Reference in New Issue
Block a user