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.