1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-06 20:10: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
}

View File

@@ -11,3 +11,4 @@ export * from './SASjsRequest'
export * from './Session'
export * from './UploadFile'
export * from './PollOptions'
export * from './WriteStream'