@types/leaflet.awesome-markers
Advanced tools
Comparing version 2.0.21 to 2.0.22
// Type definitions for Leaflet.awesome-markers plugin v2.0 | ||
// Project: https://github.com/sigma-geosistemas/Leaflet.awesome-markers#properties | ||
// Definitions by: Egor Komarov <https://github.com/Odrin> | ||
// Definitions by: Marcel Sebek <https://github.com/sebek64> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -14,23 +14,8 @@ | ||
interface IconStatic extends Leaflet.IconStatic { | ||
/** | ||
* Creates an icon instance with the given options. | ||
*/ | ||
new (options: IconOptions): Icon; | ||
Default: { | ||
/** | ||
* Creates a default icon instance with the given options. | ||
*/ | ||
new (options?: IconOptions): Icon.Default; | ||
imagePath: string; | ||
}; | ||
} | ||
interface Icon extends Leaflet.Icon { | ||
class Icon extends Leaflet.BaseIcon { | ||
constructor(options?: AwesomeMarkers.IconOptions); | ||
options: AwesomeMarkers.IconOptions; | ||
} | ||
interface IconOptions extends Leaflet.IconOptions { | ||
interface IconOptions extends Leaflet.BaseIconOptions { | ||
/** | ||
@@ -66,5 +51,3 @@ * Name of the icon. See glyphicons or font-awesome. | ||
} | ||
var Icon: AwesomeMarkers.IconStatic; | ||
} | ||
} } |
{ | ||
"name": "@types/leaflet.awesome-markers", | ||
"version": "2.0.21", | ||
"version": "2.0.22", | ||
"description": "TypeScript definitions for Leaflet.awesome-markers plugin", | ||
@@ -8,4 +8,4 @@ "license": "MIT", | ||
{ | ||
"name": "Egor Komarov", | ||
"url": "https://github.com/Odrin" | ||
"name": "Marcel Sebek", | ||
"url": "https://github.com/sebek64" | ||
} | ||
@@ -20,7 +20,7 @@ ], | ||
"dependencies": { | ||
"@types/leaflet": "^0" | ||
"@types/leaflet": "*" | ||
}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "50a8481a243d45cfb10c2ab7aa702b6cb09bb6fd3acf2aa89dfbd1e0266d8557", | ||
"typesPublisherContentHash": "4cc6945d84740cccde4a8eb8db597eebc89bf238747f258d821a62bc36cadef0", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 02 May 2017 00:11:24 GMT | ||
* Last updated: Fri, 02 Jun 2017 17:03:32 GMT | ||
* Dependencies: leaflet | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Egor Komarov <https://github.com/Odrin>. | ||
These definitions were written by Marcel Sebek <https://github.com/sebek64>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4133
41
+ Added@types/leaflet@1.9.12(transitive)
- Removed@types/leaflet@0.7.40(transitive)
Updated@types/leaflet@*