From df60d3c00f40441bb3f64142b0d98edb98c08e96 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Mon, 30 Sep 2024 21:39:29 +0200 Subject: [PATCH] Make linter happy again --- src/ink.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ink.tsx b/src/ink.tsx index f59fa9f0..7b88589c 100644 --- a/src/ink.tsx +++ b/src/ink.tsx @@ -61,10 +61,10 @@ export default class Ink { this.log = logUpdate.create(options.stdout); this.throttledLog = options.debug ? this.log - : throttle(this.log, undefined, { + : (throttle(this.log, undefined, { leading: true, trailing: true, - }) as unknown as LogUpdate; + }) as unknown as LogUpdate); // Ignore last render after unmounting a tree to prevent empty output before exit this.isUnmounted = false;