diff --git a/src/runtime/internal/spread.js b/src/runtime/internal/spread.js index f4bcc71296..12ec86626f 100644 --- a/src/runtime/internal/spread.js +++ b/src/runtime/internal/spread.js @@ -29,6 +29,7 @@ export function get_spread_update(levels, updates) { } return update; } + /** @returns {any} */ export function get_spread_object(spread_props) { return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};