From 05f3939ccc4d4c84fe849a0ead7706754e0fe354 Mon Sep 17 00:00:00 2001 From: "S. Elliott Johnson" Date: Mon, 8 May 2023 22:04:53 -0600 Subject: [PATCH] Manual cleanup of src/runtime/internal/spread.js --- src/runtime/internal/spread.js | 1 + 1 file changed, 1 insertion(+) 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 : {};