Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/types/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export interface MapInstance extends Evented {

getCanvas(): HTMLCanvasElement;

getCanvasContainer(): HTMLElement;

remove(): void;

triggerRepaint(): void;
Expand Down Expand Up @@ -170,7 +172,7 @@ export interface ScaleControlInstance extends IControl {
/**
* A user-facing type that represents the minimal intersection between Mapbox and Maplibre
* User provided `mapLib` is supposed to implement this interface
* Only losely typed for compatibility
* Only loosely typed for compatibility
*/
export interface MapLib<MapT extends MapInstance> {
supported?: (options: any) => boolean;
Expand Down