factory.d.ts 398 B

1234567891011121314
  1. import Adjust, { AdjustConstructor } from './adjusts/adjust';
  2. /**
  3. * 根据类型获取 Adjust 类
  4. * @param type
  5. */
  6. declare const getAdjust: (type: string) => AdjustConstructor;
  7. /**
  8. * 注册自定义 Adjust
  9. * @param type
  10. * @param ctor
  11. */
  12. declare const registerAdjust: (type: string, ctor: AdjustConstructor) => void;
  13. export { getAdjust, registerAdjust, Adjust };
  14. export * from './interface';