Convert notifications policies frontend code to Typescript (#29868)

This commit is contained in:
Renaud Chaput 2024-06-18 15:23:30 +02:00 committed by GitHub
parent 50db95b9a1
commit d558dfd77d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 140 additions and 106 deletions

View file

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