mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Add generics for polyline
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@
|
||||
interface Polyline {
|
||||
decode(string: string, precision?: number): number[][];
|
||||
encode(coordinate: number[][], precision?: number): string;
|
||||
fromGeoJSON(geojson: GeoJSON.LineString | GeoJSON.Feature, precision?: number): string;
|
||||
fromGeoJSON(geojson: GeoJSON.LineString | GeoJSON.Feature<GeoJSON.LineString>, precision?: number): string;
|
||||
}
|
||||
|
||||
declare var polyline: Polyline;
|
||||
|
||||
Reference in New Issue
Block a user