Open Razunter opened 6 months ago
In addition, maybe Images.content option should allow for undefined return value. Currently, it's content?: (instance: Images, slide: slideType) => string | HTMLElement | HTMLPictureElement;
, making it content?: (instance: Images, slide: slideType) => string | HTMLElement | HTMLPictureElement | undefined;
would make sense.
slideType
doesn't have iframeAttr
, but it works and in docs
Describe the bug
Fancybox.d.ts contains
static getInstance(id?: number): Fancybox | null;
while Options.d.ts types
id
asstring | number
Reproduction
Types issue
Additional context
No response