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:
parent
b034c01240
commit
7cc484b3ec
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue