Skip to content

Commit

Permalink
clean up ts-ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Jul 30, 2020
1 parent ea08597 commit 2b3a7ea
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/maps/public/actions/data_request_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/* eslint-disable @typescript-eslint/consistent-type-definitions */

import { Dispatch } from 'redux';
// @ts-ignore
import bbox from '@turf/bbox';
import { multiPoint } from '@turf/helpers';
import { FeatureCollection } from 'geojson';
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/maps/public/actions/map_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/* eslint-disable @typescript-eslint/consistent-type-definitions */

import { Dispatch } from 'redux';
// @ts-ignore
import bboxPolygon from '@turf/bbox-polygon';
import turfBooleanContains from '@turf/boolean-contains';
import uuid from 'uuid/v4';
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/
import _ from 'lodash';
// @ts-ignore
import bboxPolygon from '@turf/bbox-polygon';
import turfBooleanContains from '@turf/boolean-contains';
import { isRefreshOnlyQuery } from './is_refresh_only_query';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

// @ts-ignore
import turfBbox from '@turf/bbox';
import { FeatureCollection } from 'geojson';
import { MapExtent } from '../../../common/descriptor_types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

/* eslint-disable @typescript-eslint/consistent-type-definitions */

// @ts-ignore
// @ts-expect-error
import turfDistance from '@turf/distance';
// @ts-ignore
// @ts-expect-error
import turfCircle from '@turf/circle';

type DrawCircleState = {
Expand Down

0 comments on commit 2b3a7ea

Please sign in to comment.