File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1616 "license" : " Apache-2.0" ,
1717 "devDependencies" : {
1818 "@types/lodash" : " ^4.14.108" ,
19- "@types/mocha" : " ^2 .2.43 " ,
20- "@types/node" : " ^10.5.4 " ,
19+ "@types/mocha" : " ^5 .2.6 " ,
20+ "@types/node" : " ^11.13.2 " ,
2121 "clang-format" : " ^1.0.55" ,
22- "gts" : " ^0.5.1 " ,
22+ "gts" : " ^0.9.0 " ,
2323 "lodash" : " ^4.17.4"
2424 },
2525 "contributors" : [
4141 "posttest" : " npm run check"
4242 },
4343 "dependencies" : {
44- "semver" : " ^5.5 .0"
44+ "semver" : " ^6.0 .0"
4545 },
4646 "files" : [
4747 " build/src/*.{js,d.ts}" ,
Original file line number Diff line number Diff line change @@ -19,9 +19,13 @@ import {ChannelCredentials} from './channel-credentials';
1919import { ChannelOptions } from './channel-options' ;
2020import { Client } from './client' ;
2121
22- export interface Serialize < T > { ( value : T ) : Buffer ; }
22+ export interface Serialize < T > {
23+ ( value : T ) : Buffer ;
24+ }
2325
24- export interface Deserialize < T > { ( bytes : Buffer ) : T ; }
26+ export interface Deserialize < T > {
27+ ( bytes : Buffer ) : T ;
28+ }
2529
2630export interface MethodDefinition < RequestType , ResponseType > {
2731 path : string ;
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ class ClientHttp2StreamMock extends stream.Duplex implements
6464 endAfterHeaders = false ;
6565 pending = false ;
6666 rstCode = 0 ;
67+ readonly bufferSize : number = 0 ;
6768 readonly sentHeaders : OutgoingHttpHeaders = { } ;
6869 readonly sentInfoHeaders ?: OutgoingHttpHeaders [ ] = [ ] ;
6970 readonly sentTrailers ?: OutgoingHttpHeaders = undefined ;
You can’t perform that action at this time.
0 commit comments