From 1b003f79a5e9747bac55512582fe32accb7abf8d Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Fri, 10 Jan 2025 12:43:19 -0700 Subject: [PATCH] updates --- packages/graphql/src/utils/nexusTypegenUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphql/src/utils/nexusTypegenUtils.ts b/packages/graphql/src/utils/nexusTypegenUtils.ts index f209bc45af2e..0480e9e65082 100644 --- a/packages/graphql/src/utils/nexusTypegenUtils.ts +++ b/packages/graphql/src/utils/nexusTypegenUtils.ts @@ -92,7 +92,7 @@ const nexusTypegenDebounced = (cfg: NexusTypegenCfg) => { debounced[cfg.filePath] = debounced[cfg.filePath] ?? _.debounce(nexusTypegen, 500) - debounced[cfg.filePath](cfg) + debounced[cfg.filePath]?.(cfg) } interface NexusTypegenWatchCfg extends NexusTypegenCfg {