Skip to content

Commit

Permalink
Merge pull request #52 from adamburgess/ts-slight-change
Browse files Browse the repository at this point in the history
typescript - Change the signature of cleanup to be an arrow function
  • Loading branch information
benjamingr authored Oct 26, 2021
2 parents afe5400 + 58ddaec commit 49e46ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FileOptions, DirOptions, TmpNameOptions } from "tmp";

export interface DirectoryResult {
path: string;
cleanup(): Promise<void>;
cleanup: () => Promise<void>;
}

export interface FileResult extends DirectoryResult {
Expand Down

0 comments on commit 49e46ea

Please sign in to comment.