From 950224d101703a48c1f0b3e062038fd5411fb4c3 Mon Sep 17 00:00:00 2001 From: Dominic Alie Date: Thu, 29 Oct 2015 13:36:55 -0400 Subject: [PATCH] Fix namespace issue --- leaflet-editable/leaflet-editable.d.ts | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/leaflet-editable/leaflet-editable.d.ts b/leaflet-editable/leaflet-editable.d.ts index 663cd7573..4297a34cb 100644 --- a/leaflet-editable/leaflet-editable.d.ts +++ b/leaflet-editable/leaflet-editable.d.ts @@ -174,16 +174,18 @@ declare module L { export interface Polyline extends EditableMixin { } - export interface MapOptions { - /** - * Whether to create a L.Editable instance at map init or not. - */ - editable?: boolean; + module Map { + export interface MapOptions { + /** + * Whether to create a L.Editable instance at map init or not. + */ + editable?: boolean; - /** - * Options to pass to L.Editable when instanciating. - */ - editOptions?: EditOptions; + /** + * Options to pass to L.Editable when instanciating. + */ + editOptions?: EditOptions; + } } /**