Skip to content

Commit

Permalink
Merge pull request #826 from zaknicholsdev/main
Browse files Browse the repository at this point in the history
Update `currentFile` metadata type to include `null`
  • Loading branch information
Stuk committed May 17, 2022
2 parents f43810e + db9cd77 commit f7ec7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -25,7 +25,7 @@ interface CompressionOptions {

interface Metadata {
percent: number;
currentFile: string;
currentFile: string | null;
}

type OnUpdateCallback = (metadata: Metadata) => void;
Expand Down

0 comments on commit f7ec7e6

Please sign in to comment.