From 4025d40e717e35954c58526fc0dc23e0514215e8 Mon Sep 17 00:00:00 2001 From: SutuSebastian Date: Tue, 19 Nov 2024 18:07:02 +0200 Subject: [PATCH 1/2] test CI checks --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c6f7217..ba8fd76 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ type OmitFirstParam any> = T extends ( ? (...args: R) => Ret : never; -const DOCUMENT = typeof document !== "undefined" ? document : undefined; +// const DOCUMENT = typeof document !== "undefined" ? document : undefined; /** * Creates a custom event with an associated React hook for listening. From 35a3e3311aab8f250ec9a195164df9c142100090 Mon Sep 17 00:00:00 2001 From: SutuSebastian Date: Tue, 19 Nov 2024 18:26:16 +0200 Subject: [PATCH 2/2] fix CI --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ba8fd76..c6f7217 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ type OmitFirstParam any> = T extends ( ? (...args: R) => Ret : never; -// const DOCUMENT = typeof document !== "undefined" ? document : undefined; +const DOCUMENT = typeof document !== "undefined" ? document : undefined; /** * Creates a custom event with an associated React hook for listening.