5c4d93e103
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fedor Indutnyy <indutny@signal.org>
18 lines
618 B
Diff
18 lines
618 B
Diff
diff --git a/node_modules/protobufjs-cli/lib/tsd-jsdoc/publish.js b/node_modules/protobufjs-cli/lib/tsd-jsdoc/publish.js
|
|
index 3846a99..20c61b6 100644
|
|
--- a/node_modules/protobufjs-cli/lib/tsd-jsdoc/publish.js
|
|
+++ b/node_modules/protobufjs-cli/lib/tsd-jsdoc/publish.js
|
|
@@ -558,6 +558,13 @@ function handleClass(element, parent) {
|
|
handleElement(child, element);
|
|
});
|
|
|
|
+ writeln();
|
|
+ if (is_interface) {
|
|
+ writeln("$unknownFields?: ReadonlyArray<Uint8Array>;");
|
|
+ } else {
|
|
+ writeln("public $unknownFields?: ReadonlyArray<Uint8Array>;");
|
|
+ }
|
|
+
|
|
--indent;
|
|
writeln("}");
|
|
|