Skip to content

Commit dcef71c

Browse files
committed
Remove extra type
1 parent 1c4fd64 commit dcef71c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clientStub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export class DgraphClientStub {
300300
throw new Error("Pre v1.1 clients do not support Login methods");
301301
}
302302

303-
const body: { [k: string]: string | number } = {};
303+
const body: { [k: string]: string } = {};
304304
if (
305305
userid === undefined &&
306306
refreshToken === undefined &&
@@ -340,7 +340,7 @@ export class DgraphClientStub {
340340
throw new Error("Pre v1.1 clients do not support Login methods");
341341
}
342342

343-
const body: { [k: string ]: string | number} = {};
343+
const body: { [k: string]: string | number } = {};
344344
if (
345345
userid === undefined &&
346346
refreshToken === undefined &&

0 commit comments

Comments
 (0)