* ⚡ Adjust `format` script * 🔥 Remove exemption for `editor-ui` * 🎨 Prettify * 👕 Fix lint
26 lines
573 B
TypeScript
26 lines
573 B
TypeScript
import Vue, { VNode } from 'vue';
|
|
|
|
declare module 'markdown-it-link-attributes';
|
|
declare module 'markdown-it-emoji';
|
|
declare module 'markdown-it-task-lists';
|
|
|
|
declare global {
|
|
interface Window {
|
|
BASE_PATH: string;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
interface Array<T> {
|
|
findLast(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T;
|
|
}
|
|
}
|