[Glitch] Convert notifications policies frontend code to Typescript

Port d558dfd77d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput authored and Claire committed 2024-06-18 18:22:40 +02:00
1 parent b0c979af49
commit af0a1a8774
11 files changed
+138 -106

No files matched your search

@@ -0,0 +1,3 @@
import type { NotificationPolicyJSON } from 'flavours/glitch/api_types/notification_policies';
export type NotificationPolicy = NotificationPolicyJSON; // No changes from the API type