Improve typing

This commit is contained in:
tamaina
2020-05-26 14:33:55 +09:00
parent 05c7cacdd1
commit 9bee9d20f7
9 changed files with 24 additions and 10 deletions

3
src/types.ts Normal file
View File

@@ -0,0 +1,3 @@
export const notificationTypes = ['follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote', 'receiveFollowRequest', 'followRequestAccepted', 'groupInvited', 'app'] as const;
export const noteVisibilities = ['public', 'home', 'followers', 'specified'] as const;