refactor: renable standard JS linter rules
[poolifier.git] / examples / typescript / http-server-pool / fastify-hybrid / src / fastify-worker.ts
index 388730dcec9bda04a13315f4f0b5fb1814981266..28bf2a01f1cb0d15aff9b86d3bbbeed98c9bd808 100644 (file)
@@ -13,7 +13,7 @@ ClusterWorkerResponse
   private static readonly startFastify = async (
     workerData?: ClusterWorkerData
   ): Promise<ClusterWorkerResponse> => {
-    const { port, ...fastifyPoolifierOptions } = workerData as ClusterWorkerData
+    const { port, ...fastifyPoolifierOptions } = workerData!
 
     FastifyWorker.fastify = Fastify({
       logger: true