build: reenable eslint type checking
[poolifier.git] / examples / typescript / pool.ts
index 5d3d8e756833d84775d24bde59a975792da5b94b..1be0691a7aa7bf42423530d25d82994e4ce7fa6e 100644 (file)
@@ -45,6 +45,7 @@ const dynamicPool = new DynamicThreadPool<MyData, MyResponse>(
 
 await dynamicPool.execute()
 
+// eslint-disable-next-line @typescript-eslint/no-misused-promises
 setTimeout(async () => {
   await fixedPool.destroy()
   await dynamicPool.destroy()