1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix nullable types

This commit is contained in:
Bill Thornton 2023-07-06 15:20:24 -04:00
parent b034c01240
commit 7cc484b3ec
2 changed files with 3 additions and 3 deletions

View file

@ -246,7 +246,7 @@ class Manager {
/**
* Handles a playback command from the server.
* @param {Object} cmd The playback command.
* @param {Object|null} cmd The playback command.
*/
processCommand(cmd) {
if (cmd === null) return;
@ -294,7 +294,7 @@ class Manager {
/**
* Handles a group state change.
* @param {Object} update The group state update.
* @param {Object|null} update The group state update.
*/
processStateChange(update) {
if (update === null || update.State === null || update.Reason === null) return;