types(Dialog): dialog fn use ts (#8114)

This commit is contained in:
neverland
2021-02-09 21:03:11 +08:00
committed by GitHub
parent 9c3dbfc0b6
commit 89b65077d3
3 changed files with 47 additions and 11 deletions
+1
View File
@@ -47,6 +47,7 @@ const defaultOptions: ToastOptions = {
closeOnClickOverlay: false,
};
// TODO remove any
let queue: any[] = [];
let allowMultiple = false;
let currentOptions = { ...defaultOptions };