diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b2fdde55..69689151c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### [6.11.2](https://www.github.com/protobufjs/protobuf.js/compare/v6.11.1...v6.11.2) (2021-04-30) + +* regenerated index.d.ts to fix the unintended breaking change in types. + + ### [6.11.1](https://www.github.com/protobufjs/protobuf.js/compare/v6.11.0...v6.11.1) (2021-04-29) 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;