From a5c1dccad3ef7aab5e8a04b284dde4e1e6e542df Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Wed, 29 Jul 2026 02:45:24 +0200 Subject: [PATCH] Fix type issues --- src/App.tsx | 3 ++- src/types/{svg.ts => svg.d.ts} | 0 tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/types/{svg.ts => svg.d.ts} (100%) diff --git a/src/App.tsx b/src/App.tsx index 9568e7a..138dde7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,8 @@ import { store, persistor } from './reduxStore'; // Configure notifications Notifications.setNotificationHandler({ handleNotification: async () => ({ - shouldShowAlert: true, + shouldShowBanner: true, + shouldShowList: true, shouldPlaySound: true, shouldSetBadge: false, }), diff --git a/src/types/svg.ts b/src/types/svg.d.ts similarity index 100% rename from src/types/svg.ts rename to src/types/svg.d.ts diff --git a/tsconfig.json b/tsconfig.json index 3374467..df7e86c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ "types": ["jest", "node"] }, "extends": "expo/tsconfig.base", - "include": ["src", "src/types/svg.ts", "App.ts", "index.ts"] + "include": ["src", "src/types/svg.d.ts", "App.ts", "index.ts"] }