We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c8bfa commit 5dceb78Copy full SHA for 5dceb78
packages/base/src/widget.ts
@@ -524,8 +524,8 @@ export class WidgetModel extends Backbone.Model {
524
* binary array buffers.
525
*/
526
serialize(state: Dict<any>): JSONObject {
527
- const deepcopy =
528
- globalThis.structuredClone || (x: any) => JSON.parse(JSON.stringify(x));
+ const deepcopy =
+ globalThis.structuredClone || ((x: any) => JSON.parse(JSON.stringify(x)));
529
const serializers =
530
(this.constructor as typeof WidgetModel).serializers || {};
531
for (const k of Object.keys(state)) {
0 commit comments