grpc-code-gen
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -370,6 +370,7 @@ "use strict"; | ||
return ` ${method.name}( | ||
request: ${requestType}, | ||
options?: { deadline?: Date | number; flags?: number; host?: string; }, | ||
callback?: (err: Error, response: ${responseType}), | ||
): Promise<${responseType}>;`; | ||
request: ${requestType}, | ||
options?: { deadline?: Date | number; flags?: number; host?: string; }, | ||
callback?: (err: Error, response: ${responseType}) => void, | ||
): Promise<${responseType}>; | ||
`; | ||
}); | ||
@@ -376,0 +377,0 @@ if (typescript) { |
{ | ||
"name": "grpc-code-gen", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git", |
@@ -443,6 +443,7 @@ import * as fs from 'fs-extra'; | ||
return ` ${method.name}( | ||
request: ${requestType}, | ||
options?: { deadline?: Date | number; flags?: number; host?: string; }, | ||
callback?: (err: Error, response: ${responseType}), | ||
): Promise<${responseType}>;` | ||
request: ${requestType}, | ||
options?: { deadline?: Date | number; flags?: number; host?: string; }, | ||
callback?: (err: Error, response: ${responseType}) => void, | ||
): Promise<${responseType}>; | ||
` | ||
}); | ||
@@ -449,0 +450,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120923
1793