From 8ccf123bb5240400cb87ee3fd61f2486bb434f44 Mon Sep 17 00:00:00 2001 From: ChanLee_KR Date: Mon, 23 Sep 2024 11:57:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A6=B0=ED=8A=B8=20=EB=A3=B0=20?= =?UTF-8?q?=EC=9E=84=EC=8B=9C=20=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94=20(#A?= =?UTF-8?q?TR-606)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/service/.eslintrc.cjs | 1 + .../features/profile-container/model/type/settingForm.ts | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/service/.eslintrc.cjs b/apps/service/.eslintrc.cjs index 6a8259c..5483ed9 100644 --- a/apps/service/.eslintrc.cjs +++ b/apps/service/.eslintrc.cjs @@ -14,6 +14,7 @@ module.exports = { some: ['nesting', 'id'], }, ], + '@typescript-eslint/naming-convention': 'off', }, settings: { 'import/resolver': { diff --git a/apps/service/src/features/profile-container/model/type/settingForm.ts b/apps/service/src/features/profile-container/model/type/settingForm.ts index 51dc460..dbf17a5 100644 --- a/apps/service/src/features/profile-container/model/type/settingForm.ts +++ b/apps/service/src/features/profile-container/model/type/settingForm.ts @@ -8,8 +8,11 @@ export interface SettingForm { occupation: string } -export type CheckFormDataWithNull = { - [K in Exclude]: SettingForm[K] | null +export interface CheckFormDataWithNull { + nickname: string | null + interest: NewsletterCategory[] | null + userExpiration: number | null + occupation: string | null } export type CheckFormDataWithoutNullType = Partial<