1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-09 21:30:05 +00:00

fix(fs): replace fs imports with locally defined WriteStream interface

This commit is contained in:
Krishna Acondy
2021-07-23 22:24:04 +01:00
parent 2a9526d056
commit 0a6c5a0ec4
5 changed files with 9 additions and 3 deletions

4
src/types/WriteStream.ts Normal file
View File

@@ -0,0 +1,4 @@
export interface WriteStream {
write: (content: string, callback: (err?: Error) => any) => void
path: string
}