Skip to content

Commit

Permalink
fix: update setTransformRequest to use TransformRequestFunction type (#…
Browse files Browse the repository at this point in the history
…187)

Fixes #186
  • Loading branch information
thaddmt authored Jun 27, 2021
1 parent 36647c0 commit 4b753d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ declare namespace maplibregl {

setStyle(style: maplibregl.Style | string, options?: { diff?: boolean; localIdeographFontFamily?: string }): this;

setTransformRequest(transformRequest: RequestTransformFunction): void;
setTransformRequest(transformRequest: TransformRequestFunction): void;

getStyle(): maplibregl.Style;

Expand Down

0 comments on commit 4b753d2

Please sign in to comment.