We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74424d2 commit 64ddbfdCopy full SHA for 64ddbfd
src/source/geojson_source.ts
@@ -289,7 +289,7 @@ class GeoJSONSource extends Evented<SourceEvents> implements ISource {
289
* "Another Island"
290
* ]);
291
*/
292
- setFilter(filter: ?FilterSpecification): this {
+ setFilter(filter?: FilterSpecification): this {
293
this.workerOptions = extend({filter}, this.workerOptions);
294
this._updateWorkerData();
295
return this;
0 commit comments