Skip to content

Commit

Permalink
fix: return type of toFile
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Oct 23, 2023
1 parent fc9b9e1 commit 7062ab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/modern-grapes-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zazuko/rdf-utils-fs": patch
---

`toFile` was not types as async in factory
2 changes: 1 addition & 1 deletion Factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface FromFile {
}

interface ToFile {
(stream: Stream, filename: string, opts?: ToFileOpts): void
(stream: Stream, filename: string, opts?: ToFileOpts): Promise<void>
}

interface Factory {
Expand Down

0 comments on commit 7062ab8

Please sign in to comment.