Skip to content

Commit

Permalink
fix: fromUrl options
Browse files Browse the repository at this point in the history
  • Loading branch information
hongfaqiu committed Jul 3, 2023
1 parent accacc1 commit 655eba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/TIFFImageryProvider/src/TIFFImageryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export class TIFFImageryProvider {
this.ready = true;
}

static async fromUrl(url: string | File | Blob, options?: TIFFImageryProviderOptions) {
static async fromUrl(url: string | File | Blob, options: TIFFImageryProviderOptions = {}) {
const provider = new TIFFImageryProvider(options as any);
await provider._build(url, options)

Expand Down

1 comment on commit 655eba1

@vercel
Copy link

@vercel vercel bot commented on 655eba1 Jul 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.