From 57516c27bf30f7c2a9f7f9156845accb21f4d5ca Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Sun, 16 May 2021 13:45:36 +0300 Subject: [PATCH] Flow: Remove inferrable types --- src/__testUtils__/kitchenSinkSDL.js | 2 +- src/jsutils/__tests__/toObjMap-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__testUtils__/kitchenSinkSDL.js b/src/__testUtils__/kitchenSinkSDL.js index 1c97bd87f8..cdf2f9afce 100644 --- a/src/__testUtils__/kitchenSinkSDL.js +++ b/src/__testUtils__/kitchenSinkSDL.js @@ -1,4 +1,4 @@ -export const kitchenSinkSDL: string = ` +export const kitchenSinkSDL = ` """This is a description of the schema as a whole.""" schema { query: QueryType diff --git a/src/jsutils/__tests__/toObjMap-test.js b/src/jsutils/__tests__/toObjMap-test.js index a0f1a2dba3..a1993324af 100644 --- a/src/jsutils/__tests__/toObjMap-test.js +++ b/src/jsutils/__tests__/toObjMap-test.js @@ -5,7 +5,7 @@ import type { ObjMapLike } from '../ObjMap'; import { toObjMap } from '../toObjMap'; // Workaround to make both ESLint and Flow happy -const __proto__: string = '__proto__'; +const __proto__ = '__proto__'; describe('toObjMap', () => { it('convert empty object to ObjMap', () => {