Convert notifications policies frontend code to Typescript (#29868)
This commit is contained in:
parent
50db95b9a1
commit
d558dfd77d
12 changed files with 140 additions and 106 deletions
3
app/javascript/mastodon/models/notification_policy.ts
Normal file
3
app/javascript/mastodon/models/notification_policy.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import type { NotificationPolicyJSON } from 'mastodon/api_types/notification_policies';
|
||||
|
||||
export type NotificationPolicy = NotificationPolicyJSON; // No changes from the API type
|
Loading…
Add table
Add a link
Reference in a new issue