factory.d.ts 348 B

123456789
  1. import Attribute, { AttributeConstructor } from './attributes/base';
  2. /**
  3. * 通过类型获得 Attribute 类
  4. * @param type
  5. */
  6. declare const getAttribute: (type: string) => any;
  7. declare const registerAttribute: (type: string, ctor: AttributeConstructor) => void;
  8. export { getAttribute, registerAttribute, Attribute };
  9. export * from './interface';