Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Sep 18, 2024
1 parent 74424d2 commit 64ddbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/geojson_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class GeoJSONSource extends Evented<SourceEvents> implements ISource {
* "Another Island"
* ]);
*/
setFilter(filter: ?FilterSpecification): this {
setFilter(filter?: FilterSpecification): this {
this.workerOptions = extend({filter}, this.workerOptions);
this._updateWorkerData();
return this;
Expand Down

0 comments on commit 64ddbfd

Please sign in to comment.