Refine code formatting configuration
[poolifier.git] / src / worker / abstract-worker.ts
index ab56a5e9bb2f8c16c8b774eb2bdd6789de882ee5..846994591b5b2049039c748b554aba84b1a13d97 100644 (file)
@@ -114,7 +114,9 @@ export abstract class AbstractWorker<
    */
   private checkFunctionInput (fn: (data: Data) => Response): void {
     if (fn == null) throw new Error('fn parameter is mandatory')
-    if (typeof fn !== 'function') { throw new TypeError('fn parameter is not a function') }
+    if (typeof fn !== 'function') {
+      throw new TypeError('fn parameter is not a function')
+    }
   }
 
   /**