Skip to content

Commit

Permalink
Make abort parameter optional as suggested by the README #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Lasermann committed Jun 5, 2020
1 parent b33f46e commit 2a356ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ declare module 'leaflet' {
baseUrl: string,
options: WMSOptions,
header: { header: string; value: string }[],
abort: Observable<any>
abort?: Observable<any>
);
}
export function wmsHeader(
baseUrl: string,
options: WMSOptions,
header: { header: string; value: string }[],
abort: Observable<any>
abort?: Observable<any>
): L.TileLayer.WMSHeader;
}
}

0 comments on commit 2a356ea

Please sign in to comment.