repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier in /examples/typescript/http-client-pool
[poolifier.git]
/
examples
/
typescript
/
smtp-client-pool
/
src
/
main.ts
diff --git
a/examples/typescript/smtp-client-pool/src/main.ts
b/examples/typescript/smtp-client-pool/src/main.ts
index 70b1cb244cbdc7988d9e038533e354061106288b..1b463fa0b83ed257c6ec217b1da31de766ed8120 100644
(file)
--- a/
examples/typescript/smtp-client-pool/src/main.ts
+++ b/
examples/typescript/smtp-client-pool/src/main.ts
@@
-1,8
+1,9
@@
+import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js'
import { smtpClientPool } from './pool.js'
const tos = ['bar@example.com, baz@example.com']
import { smtpClientPool } from './pool.js'
const tos = ['bar@example.com, baz@example.com']
-const smtpClientPoolPromises = new Set<Promise<
unknown
>>()
+const smtpClientPoolPromises = new Set<Promise<
SMTPTransport.SentMessageInfo
>>()
for (const to of tos) {
smtpClientPoolPromises.add(
smtpClientPool.execute({
for (const to of tos) {
smtpClientPoolPromises.add(
smtpClientPool.execute({