Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/cjs/components/OptionsHandler.d.ts 566 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
  import { LooseOptionsType, CreateOptionsType } from './Options';
  import { WindowType } from './utils';
  type OptionsType = Partial<CreateOptionsType<LooseOptionsType>>;
  export type OptionsHandlerType = {
      mergeOptions: <TypeA extends OptionsType, TypeB extends OptionsType>(optionsA: TypeA, optionsB?: TypeB) => TypeA;
      optionsAtMedia: <Type extends OptionsType>(options: Type) => Type;
      optionsMediaQueries: (optionsList: OptionsType[]) => MediaQueryList[];
  };
  export declare function OptionsHandler(ownerWindow: WindowType): OptionsHandlerType;
  export {};