Upgrade deps

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-12-14 09:23:29 +01:00
parent a9f47d4c45
commit 594d5a91ec
8 changed files with 133 additions and 388 deletions

View File

@@ -2,9 +2,7 @@ import Vue, { VNode } from "vue";
declare global {
namespace JSX {
// tslint:disable no-empty-interface
interface Element extends VNode {}
// tslint:disable no-empty-interface
interface ElementClass extends Vue {}
interface IntrinsicElements {
[elem: string]: any;

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
export enum InstanceTermsType {
DEFAULT = "DEFAULT",
URL = "URL",

View File

@@ -1,6 +1,7 @@
async function asyncForEach(
array: Array<any>,
callback: (arg0: any, arg1: number, arg2: Array<any>) => any
// eslint-disable-next-line no-unused-vars
callback: (arg0: any, arg1: number, arg2: Array<any>) => void
): Promise<void> {
for (let index = 0; index < array.length; index += 1) {
// eslint-disable-next-line no-await-in-loop

View File

@@ -929,7 +929,7 @@ export default class EditEvent extends Vue {
/**
* Confirm cancel
*/
confirmGoElsewhere(callback: (value?: string) => any): void {
confirmGoElsewhere(callback: () => any): void {
if (!this.isEventModified) {
callback();
}