Skip to content

Commit

Permalink
Make zip parameters options and stream optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
rooby committed Aug 23, 2023
1 parent 6923981 commit 80da96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ declare module "@mapbox/shp-write" {

export function zip<T extends OutputType>(
geojson: GeoJSON.FeatureCollection,
options: DownloadOptions & ZipOptions,
stream: boolean): Promise<OutputByType[T]>;
options?: DownloadOptions & ZipOptions,
stream?: boolean): Promise<OutputByType[T]>;
}

0 comments on commit 80da96f

Please sign in to comment.