Merge pull request #450 from mvaldesdeleon/patch-1

Replaces `string` type with actual possible values
This commit is contained in:
Michael Lumish 2018-08-21 10:14:43 -07:00 committed by GitHub
commit bbddf3d103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,7 +802,7 @@ Server.prototype.start = function() {
* request values and returns a stream of response values
* @param {grpc~serialize} serialize Serialization function for responses
* @param {grpc~deserialize} deserialize Deserialization function for requests
* @param {string} type The streaming type of method that this handles
* @param {('unary'|'client_stream'|'server_stream'|'bidi')} type The streaming type of method that this handles
* @return {boolean} True if the handler was set. False if a handler was already
* set for that name.
*/