From 8c932151f8c0d4bade3317da8fc8737af123e840 Mon Sep 17 00:00:00 2001 From: cballevre Date: Mon, 15 Jan 2024 15:00:53 +0100 Subject: [PATCH] fix: Type issue comming from new folder structure --- src/modules/views/Upload/useResumeFromFlagship.ts | 1 - tsconfig.json | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/views/Upload/useResumeFromFlagship.ts b/src/modules/views/Upload/useResumeFromFlagship.ts index 874ff9d7c1..5c42cdb6f1 100644 --- a/src/modules/views/Upload/useResumeFromFlagship.ts +++ b/src/modules/views/Upload/useResumeFromFlagship.ts @@ -13,7 +13,6 @@ export const useResumeUploadFromFlagship = (): void => { const client = useClient() const dispatch = useDispatch() const webviewIntent = useWebviewIntent() - // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion const uploadQueue = useSelector(getUploadQueue) as FileFromNative[] useEffect(() => { diff --git a/tsconfig.json b/tsconfig.json index 158879a2d9..3ea2fb7fd9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,12 @@ "paths": { "lib/*": ["./src/lib/*"], "modules/*": ["./src/modules/*"], + "components/*": ["./src/components/*"], + "test/*": ["./test/*"], + "hooks/*": ["./src/hooks/*"], + "models/*": ["./src/models/*"], + "constants/*": ["./src/constants/*"], + "config/*": ["./src/config/*"], } } }