Last active
April 15, 2019 02:58
-
-
Save rwev/ff0c3a3b65ed44e2dc6995f7eba6f470 to your computer and use it in GitHub Desktop.
TypeScript definitions for leaflet-openweathermap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for leaflet-openweathermap | |
// By rwev <https://github.com/rwev> | |
import * as L from 'leaflet'; | |
declare module 'leaflet' { | |
namespace OWM { | |
interface Clouds extends L.TileLayer {} | |
function clouds(options?): Clouds; | |
interface CloudsClassic extends L.TileLayer {} | |
function cloudsClassic(options?): CloudsClassic; | |
interface Precipitation extends L.TileLayer {} | |
function precipitation(options?): Precipitation; | |
interface PrecipitationClassic extends L.TileLayer {} | |
function precipitationClassic(options?): PrecipitationClassic; | |
interface Rain extends L.TileLayer {} | |
function rain(options?): Rain; | |
interface RainClassic extends L.TileLayer {} | |
function rainClassic(options?): RainClassic; | |
interface Snow extends L.TileLayer {} | |
function snow(options?): Snow; | |
interface Pressure extends L.TileLayer {} | |
function pressure(options?): Pressure; | |
interface PressureContour extends L.TileLayer {} | |
function pressureContour(options?): PressureContour; | |
interface Temperature extends L.TileLayer {} | |
function temperature(options?): Temperature; | |
interface Wind extends L.TileLayer {} | |
function wind(options?): Wind; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment