From dc36d05c4763fc77b039e9c43f3e3ac8513ca07f Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Tue, 17 Sep 2024 07:46:53 -0500 Subject: [PATCH] Add JSDoc `@returns` tag for `isRunningInReactNative` --- src/utils/useIsomorphicLayoutEffect.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/useIsomorphicLayoutEffect.ts b/src/utils/useIsomorphicLayoutEffect.ts index c18d276bd..13fd332ec 100644 --- a/src/utils/useIsomorphicLayoutEffect.ts +++ b/src/utils/useIsomorphicLayoutEffect.ts @@ -24,6 +24,8 @@ const isDOM = /* @__PURE__ */ canUseDOM() /** * Checks if the code is running in a React Native environment. * + * @returns Whether the code is running in a React Native environment. + * * @see {@link https://github.com/facebook/react-native/issues/1331 Reference} */ const isRunningInReactNative = () =>