Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl authored Mar 24, 2023
1 parent 33dfe97 commit c9036d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/base/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ export class WidgetModel extends Backbone.Model {
*/
serialize(state: Dict<any>): JSONObject {
const serializers =
(this.constructor as typeof WidgetModel).serializers || JSONExt.emptyObject;
(this.constructor as typeof WidgetModel).serializers ||
JSONExt.emptyObject;
for (const k of Object.keys(state)) {
try {
const keySerializers = serializers[k] || JSONExt.emptyObject;
Expand Down

0 comments on commit c9036d1

Please sign in to comment.