@types/mapbox__mapbox-gl-draw
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -410,9 +410,9 @@ // Type definitions for @mapbox/mapbox-gl-draw 1.4 | ||
createMidPoint(parent: string, startVertex: DrawFeature, endVertex: DrawFeature): GeoJSON; | ||
createMidPoint(parent: string, startVertex: Feature, endVertex: Feature): Feature<Point> | null; | ||
createSupplementaryPoints( | ||
geojson: DrawFeature, | ||
geojson: Feature, | ||
options?: { midpoints?: boolean; selectedPaths?: string[] }, | ||
basePath?: string, | ||
): GeoJSON[]; | ||
): Array<Feature<Point>>; | ||
@@ -430,3 +430,3 @@ /** | ||
*/ | ||
createVertex(parentId: string, coordinates: Position, path: string, selected: boolean): GeoJSON; | ||
createVertex(parentId: string, coordinates: Position, path: string, selected: boolean): Feature<Point>; | ||
@@ -433,0 +433,0 @@ // TODO: define a proper type for ctx since is not exposed correctly |
{ | ||
"name": "@types/mapbox__mapbox-gl-draw", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "TypeScript definitions for @mapbox/mapbox-gl-draw", | ||
@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-draw", | ||
}, | ||
"typesPublisherContentHash": "53b52af400f1135a1680cf639825cdf924fb704d383acf6ec5553093de006328", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "9d694067b3f4a490b04aaf292f62cdae2b279659a182c37021538c4b8571c73e", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 09 Sep 2023 07:03:08 GMT | ||
* Last updated: Sun, 17 Sep 2023 12:40:30 GMT | ||
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl) | ||
@@ -14,0 +14,0 @@ * Global values: `MapboxDraw` |
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
23844