diff --git a/javascript/net/grpc/web/grpc_generator.cc b/javascript/net/grpc/web/grpc_generator.cc index 73456415..f714cb4f 100644 --- a/javascript/net/grpc/web/grpc_generator.cc +++ b/javascript/net/grpc/web/grpc_generator.cc @@ -1041,7 +1041,9 @@ void PrintFileHeader(Printer* printer, const std::map& vars) { " * @enhanceable\n" " * @public\n" " */\n\n" - "// GENERATED CODE -- DO NOT EDIT!\n\n\n"); + "// GENERATED CODE -- DO NOT EDIT!\n\n\n" + "/* eslint-disable */" + "//@ts-nocheck\n\n\n"); } void PrintMethodDescriptorFile(Printer* printer, @@ -1053,7 +1055,9 @@ void PrintMethodDescriptorFile(Printer* printer, " * @enhanceable\n" " * @public\n" " */\n\n" - "// GENERATED CODE -- DO NOT EDIT!\n\n\n"); + "// GENERATED CODE -- DO NOT EDIT!\n\n\n" + "/* eslint-disable */" + "//@ts-nocheck\n\n\n"); printer->Print(vars, "goog.provide('proto.$package_dot$$class_name$.$"