Skip to content

Commit 08cdf29

Browse files
volkerrichertVolker Richert
and
Volker Richert
authored
🤖 Merge PR DefinitelyTyped#72313 add missing tls option to clamscan by @volkerrichert
Co-authored-by: Volker Richert <[email protected]>
1 parent 5e49227 commit 08cdf29

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

types/clamscan/clamscan-tests.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const fakeVirusUrl = "https://secure.eicar.org/eicar.com.txt";
1313
bypassTest: true,
1414
host: "localhost",
1515
port: 3310,
16+
tls: false,
1617
},
1718
});
1819
// $ExpectType string

types/clamscan/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ declare namespace NodeClam {
5050
active?: boolean;
5151
/** Check to see if socket is available when applicable */
5252
bypassTest?: boolean;
53+
/** Connect to a TLS-Termination proxy in front of ClamAV */
54+
tls?: boolean;
5355
};
5456
/** If clamdscan is found and active, it will be used by default */
5557
preference?: any;

0 commit comments

Comments
 (0)