Notification: convert to TSX

This commit is contained in:
Alex Gleason 2022-04-16 13:43:55 -05:00
parent 1fb8d162db
commit 722c96bec2
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ import type {
} from 'soapbox/types/entities';
// Defined in components/scrollable_list
type ScrollPosition = { height: number, top: number };
export type ScrollPosition = { height: number, top: number };
export const textForScreenReader = (intl: IntlShape, status: StatusEntity, rebloggedByText?: string): string => {
const { account } = status;

View file

@ -11,7 +11,7 @@ import {
import type { Account, Status, EmbeddedEntity } from 'soapbox/types/entities';
type NotificationType = ''
export type NotificationType = ''
| 'follow'
| 'follow_request'
| 'mention'