1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-13 07:00:06 +00:00

fix: jest tests RequestClient.spec.ts

This commit is contained in:
2025-03-03 17:52:53 +01:00
parent 7bdd826418
commit 18be9e8806
10 changed files with 118 additions and 26 deletions

View File

@@ -1,4 +1,10 @@
export interface WriteStream {
write: (content: string, callback: (err?: Error) => any) => void
path: string
import { WriteStream as FsWriteStream } from 'fs'
export interface WriteStream extends FsWriteStream {
write(
chunk: any,
encoding?: BufferEncoding | ((error: Error | null | undefined) => void),
cb?: (error: Error | null | undefined) => void
): boolean
path: string | Buffer
}