Make eslint happy
This commit is contained in:
parent
8cf7152151
commit
94e9be3b88
|
@ -428,7 +428,7 @@ export function clipboardData(e) {
|
|||
|
||||
let types = clipboard.types;
|
||||
|
||||
if (typeof types !== "array") {
|
||||
if (!Array.isArray(types)) {
|
||||
types = Array.from(types);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue