11 lines
184 B
TypeScript
Raw Normal View History

2021-06-28 12:34:29 +02:00
interface Field {
config: {};
toDB(value: any): any;
fromDB(value: any): any;
}
interface Attribute {
type: string
}
export function createField(attribute: Attribute): Field;