2
js/src/shims-tsx.d.ts
vendored
2
js/src/shims-tsx.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
export enum InstanceTermsType {
|
||||
DEFAULT = "DEFAULT",
|
||||
URL = "URL",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user