Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.vscode
node_modules
commonjs_out
google/protobuf
Expand All @@ -7,3 +8,6 @@ bazel-*
/testproto_libs1.js
/testproto_libs2.js
/google-protobuf.js
/google-protobuf-*.tgz
/conformance/protos/*.js
/conformance/package-lock.json
15 changes: 8 additions & 7 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions binary/any_field_type.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
goog.module('jspb.binary.any_field_type');

const {RepeatedFieldType} = goog.require('jspb.binary.repeated_field_type');
const {ScalarFieldType} = goog.requireType('jspb.binary.scalar_field_type');


/**
* A field in jspb can be a scalar, a block of bytes, another proto, or an
* array of any of the above.
* @typedef {?ScalarFieldType|?RepeatedFieldType|!Uint8Array}
*/
let AnyFieldType;

exports = {AnyFieldType};
Loading