import "leaflet" ; import { GeodesicLine } from './geodesic-line' ; import { GeodesicCircleClass } from './geodesic-circle' ; declare module "leaflet" { type Geodesic = GeodesicLine ; let Geodesic ; let geodesic ; type GeodesicCircle = GeodesicCircleClass ; let GeodesicCircle ; let geodesiccircle ; } if ( typeof window . L !== "undefined" ) { window . L . Geodesic = GeodesicLine ; window . L . geodesic = ( ... args ) => new GeodesicLine ( ... args ) ; window . L . GeodesicCircle = GeodesicCircleClass ; window . L . geodesiccircle = ( ... args ) => new GeodesicCircleClass ( ... args ) ; } export * from './geodesic-line' ; export * from './geodesic-circle' ;