v1.0 with SW PWA enabled
This commit is contained in:
16
frontend/node_modules/embla-carousel/esm/components/Plugins.d.ts
generated
vendored
Normal file
16
frontend/node_modules/embla-carousel/esm/components/Plugins.d.ts
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import { CreateOptionsType, LooseOptionsType } from './Options.js';
|
||||
import { EmblaCarouselType } from './EmblaCarousel.js';
|
||||
import { OptionsHandlerType } from './OptionsHandler.js';
|
||||
export type LoosePluginType = {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
export type CreatePluginType<TypeA extends LoosePluginType, TypeB extends LooseOptionsType> = TypeA & {
|
||||
name: string;
|
||||
options: Partial<CreateOptionsType<TypeB>>;
|
||||
init: (embla: EmblaCarouselType, OptionsHandler: OptionsHandlerType) => void;
|
||||
destroy: () => void;
|
||||
};
|
||||
export interface EmblaPluginsType {
|
||||
[key: string]: CreatePluginType<LoosePluginType, {}>;
|
||||
}
|
||||
export type EmblaPluginType = EmblaPluginsType[keyof EmblaPluginsType];
|
||||
Reference in New Issue
Block a user