New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/leaflet-side-by-side

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet-side-by-side

TypeScript definitions for leaflet-side-by-side

ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
ts6.0
latest
Source
npmnpm
Version
2.2.4
Version published
Maintainers
1
Created
Source

Installation

npm install --save @types/leaflet-side-by-side

Summary

This package contains type definitions for leaflet-side-by-side (https://github.com/digidem/leaflet-side-by-side).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-side-by-side.

index.d.ts

import * as L from "leaflet";

declare module "leaflet" {
    namespace control {
        function sideBySide(
            leftLayers: Layer[] | Layer,
            rightLayers: Layer[] | Layer,
            options?: Control.SideBySideOptions,
        ): Control.SideBySide;
    }

    namespace Control {
        interface SideBySideOptions extends ControlOptions {
            thumbSize?: number;
            padding?: number;
        }

        interface SideBySide extends Control {
            options: SideBySideOptions;
            setLeftLayers(leftLayers: Layer[] | Layer): this;
            setRightLayers(rightLayers: Layer[] | Layer): this;
            getPosition(): any;
            setPosition(): this;
            addTo(map: Map): this;
            remove(): this;
        }
    }
}

Additional Details

  • Last updated: Wed, 03 Sep 2025 08:02:48 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Gabriel O. Martins.

FAQs

Package last updated on 03 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts