From ad298bc7c843ee66a69a855b8762bb04a33dbf8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20R=C3=B6nnkvist?= Date: Sat, 11 Feb 2023 22:06:59 +0100 Subject: [PATCH] remove possible deprecated options from type brand output --- packages/proto-loader/bin/proto-loader-gen-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/proto-loader/bin/proto-loader-gen-types.ts b/packages/proto-loader/bin/proto-loader-gen-types.ts index 057d14f3..f23327fc 100644 --- a/packages/proto-loader/bin/proto-loader-gen-types.ts +++ b/packages/proto-loader/bin/proto-loader-gen-types.ts @@ -189,7 +189,7 @@ const typeBrandHint = `This field is a type brand and is not populated at runtim https://github.com/grpc/grpc-node/pull/2281`; function formatTypeBrand(formatter: TextFormatter, messageType: Protobuf.Type) { - formatComment(formatter, typeBrandHint, messageType.options); + formatComment(formatter, typeBrandHint); formatter.writeLine(`__type: '${messageType.fullName}'`); }