From 63671b20e486f0496d4fd134ced1ebe5d315cb0d Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Tue, 1 Sep 2020 09:45:41 -0400 Subject: [PATCH] type check --- x-pack/plugins/maps/server/mvt/__tests__/tile_searches.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/maps/server/mvt/__tests__/tile_searches.ts b/x-pack/plugins/maps/server/mvt/__tests__/tile_searches.ts index ce66291e5e5ff..317d6434cf81e 100644 --- a/x-pack/plugins/maps/server/mvt/__tests__/tile_searches.ts +++ b/x-pack/plugins/maps/server/mvt/__tests__/tile_searches.ts @@ -9,7 +9,7 @@ import * as fs from 'fs'; const search000path = path.resolve(__dirname, './json/0_0_0_search.json'); const search000raw = fs.readFileSync(search000path); -const search000json = JSON.parse(search000raw); // Prefer require() over setting the compiler options, which affect production modules as well +const search000json = JSON.parse((search000raw as unknown) as string); export const TILE_SEARCHES = { '0.0.0': {