We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785873b commit 9125ee6Copy full SHA for 9125ee6
1 file changed
samples/client/others/typescript/encode-decode/test/test/server.ts
@@ -26,6 +26,7 @@ class TestServerStub implements PromiseHttpLibrary {
26
const body: ResponseBody = {
27
binary: async () => { throw new Error('not implemented') },
28
text: async () => JSON.stringify(value),
29
+ stream: () => null,
30
};
31
const headers = { 'content-type': 'application/json' };
32
return new ResponseContext(200, headers, body);
@@ -35,6 +36,7 @@ class TestServerStub implements PromiseHttpLibrary {
35
36
37
38
text: async () => "",
39
40
41
return new ResponseContext(200, {}, body);
42
} else {
0 commit comments