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