diff --git a/index.d.ts b/index.d.ts index 320d8a541..bbe643245 100644 --- a/index.d.ts +++ b/index.d.ts @@ -300,6 +300,9 @@ export class FieldBase extends ReflectionObject { */ constructor(name: string, id: number, type: string, rule?: (string|{ [k: string]: any }), extend?: (string|{ [k: string]: any }), options?: { [k: string]: any }, comment?: string); + /** Field rule, if any. */ + public rule?: string; + /** Field type. */ public type: string;