chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+4 -4
View File
@@ -35,14 +35,14 @@ function Notify(options: NotifyOptions) {
if (instance.onOpened) {
instance.onOpened();
}
}
}
},
},
});
}
options = {
...Notify.currentOptions,
...parseOptions(options)
...parseOptions(options),
};
Object.assign(instance, options);
@@ -66,7 +66,7 @@ function defaultOptions(): NotifyOptions {
className: '',
onClose: null,
onClick: null,
onOpened: null
onOpened: null,
};
}