Correct typo

This commit is contained in:
Zhiyuan Zheng 2021-03-16 23:18:02 +01:00
parent bcb55254f9
commit d03d5600ec
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 11 additions and 9 deletions

View File

@ -31,8 +31,8 @@ export type Instance = {
}
push:
| {
global: { loading: boolean; value: true }
decode: { loading: boolean; value: boolean }
global: { loading: boolean; value: boolean }
decode: { loading: boolean; value: true }
alerts: {
follow: {
loading: boolean
@ -55,15 +55,17 @@ export type Instance = {
value: Mastodon.PushSubscription['alerts']['poll']
}
}
keys: {
auth: string
public: string
private: string
}
keys:
| {
auth: string
public: string
private: string
}
| undefined
}
| {
global: { loading: boolean; value: false }
decode: { loading: boolean; value: boolean }
global: { loading: boolean; value: boolean }
decode: { loading: boolean; value: false }
alerts: {
follow: {
loading: boolean