mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 07:34:08 -08:00
34 lines
683 B
TypeScript
34 lines
683 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 ImportMeta {
|
|
env: {
|
|
DEV: boolean;
|
|
PROD: boolean;
|
|
NODE_ENV: 'development' | 'production';
|
|
VUE_APP_URL_BASE_API: string;
|
|
VUE_APP_ENDPOINT_REST?: string;
|
|
};
|
|
}
|
|
|
|
interface Window {
|
|
BASE_PATH: string;
|
|
}
|
|
|
|
namespace JSX {
|
|
interface Element extends VNode {}
|
|
interface ElementClass extends Vue {}
|
|
interface IntrinsicElements {
|
|
[elem: string]: any;
|
|
}
|
|
}
|
|
|
|
interface Array<T> {
|
|
findLast(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T;
|
|
}
|
|
}
|