Skip to content

Commit

Permalink
fix: corrected type definitons
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardRode committed Jan 16, 2018
1 parent eda3443 commit 853e4de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/lib/source/geojson/geojson-source.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { GeoJSONSource, GeoJSONSourceOptions } from 'mapbox-gl';
import { GeoJSONSource, GeoJSONSourceOptions, GeoJSONGeometry } from 'mapbox-gl';
import { debounceTime } from 'rxjs/operators/debounceTime';
import { Subject } from 'rxjs/Subject';
import { Subscription } from 'rxjs/Subscription';
Expand All @@ -15,7 +15,7 @@ export class GeoJSONSourceComponent implements OnInit, OnDestroy, OnChanges, Geo
@Input() id: string;

/* Dynamic inputs */
@Input() data?: GeoJSON.Feature<GeoJSON.GeometryObject> | GeoJSON.FeatureCollection<GeoJSON.GeometryObject> | string;
@Input() data?: GeoJSON.Feature<GeoJSONGeometry> | GeoJSON.FeatureCollection<GeoJSONGeometry> | string;
@Input() maxzoom?: number;
@Input() buffer?: number;
@Input() tolerance?: number;
Expand Down

0 comments on commit 853e4de

Please sign in to comment.