Skip to content

Commit 4b753d2

Browse files
authored
fix: update setTransformRequest to use TransformRequestFunction type (#187)
Fixes #186
1 parent 36647c0 commit 4b753d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ declare namespace maplibregl {
335335

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

338-
setTransformRequest(transformRequest: RequestTransformFunction): void;
338+
setTransformRequest(transformRequest: TransformRequestFunction): void;
339339

340340
getStyle(): maplibregl.Style;
341341

0 commit comments

Comments
 (0)