UNPKG

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