- This is a starter kit template -
+This is a starter kit template
{sessionData.user.name}
) : ( -diff --git a/apps/nextjs/src/common/utils/helpers.ts b/apps/nextjs/src/common/utils/helpers.ts index ebfe55f..dde6632 100644 --- a/apps/nextjs/src/common/utils/helpers.ts +++ b/apps/nextjs/src/common/utils/helpers.ts @@ -1,8 +1,10 @@ /** - * isNullOrUndefined - * @description - validate if an element is null or undefined + * isNullOrUndefined. + * + * - validate if an element is null or undefined. + * * @function - * @param {any} value - Element to validate - * @return {boolean} Element is null or undefined. + * @param {any} value - Element to validate. + * @returns {boolean} Element is null or undefined. */ -export const isNullOrUndefined = (value: any): boolean => value === undefined || value === null; +export const isNullOrUndefined = (value: unknown): boolean => value === undefined || value === null; diff --git a/apps/nextjs/src/pages/auth/signin.tsx b/apps/nextjs/src/pages/auth/signin.tsx index 6f01ffa..8db2ecc 100644 --- a/apps/nextjs/src/pages/auth/signin.tsx +++ b/apps/nextjs/src/pages/auth/signin.tsx @@ -7,7 +7,7 @@ const Signin: NextPage = () => {
{sessionData.user.name}
) : ( -