diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2026-01-14 14:45:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-14 14:45:45 +0900 |
| commit | bd81a6c8adb45067bee9582f84855a60a962e92b (patch) | |
| tree | c15ed273fcff360700a280ab4a9ef72837a5f26c /packages/frontend/src/components/MkPushNotificationAllowButton.vue | |
| parent | refactor(frontend): MkRadioをMkRadiosに統合 (diff) | |
| download | misskey-bd81a6c8adb45067bee9582f84855a60a962e92b.tar.gz misskey-bd81a6c8adb45067bee9582f84855a60a962e92b.tar.bz2 misskey-bd81a6c8adb45067bee9582f84855a60a962e92b.zip | |
refactor(frontend): anyを除去2 (#17092)
* wip
* fix types
* fix
Diffstat (limited to 'packages/frontend/src/components/MkPushNotificationAllowButton.vue')
| -rw-r--r-- | packages/frontend/src/components/MkPushNotificationAllowButton.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkPushNotificationAllowButton.vue b/packages/frontend/src/components/MkPushNotificationAllowButton.vue index 38441b0ea6..cba9b47c56 100644 --- a/packages/frontend/src/components/MkPushNotificationAllowButton.vue +++ b/packages/frontend/src/components/MkPushNotificationAllowButton.vue @@ -144,7 +144,7 @@ async function unsubscribe() { } function encode(buffer: ArrayBuffer | null) { - return btoa(String.fromCharCode.apply(null, buffer ? new Uint8Array(buffer) as any : [])); + return btoa(String.fromCharCode(...(buffer != null ? new Uint8Array(buffer) : []))); } /** |