Update ESLint and Prettier

This commit is contained in:
Zaid Abdulla committed 2020-07-27 20:30:13 -07:00
1 parent 5a9e03db2c
commit ac980116bd
110 files changed
+2993 -2794

No files matched your search

+6 -2
View File
@@ -28,12 +28,16 @@ interface Notification {
const notifications = new Set<Notification>();
export function push(type, message, actions?): Notification {
export function push(
type: string,
message: string,
actions?: { [label: string]: () => void }
): Notification {
const n: Notification = {
type: type,
message: message,
timestamp: Date.now(),
actions: actions
actions: actions,
};
notifications.add(n);
m.redraw();