n8n/packages/editor-ui/src/shims.d.ts
Iván Ovejero 24288a554d
fix(editor): fix BASE_PATH for Vite dev mode (#4342)
* 🐛 Fix `BASE_PATH` for Vite dev mode

* don't use the string `/{{BASE_PATH}}/` as it gets replaces in build

* fix the static urls on windows

* ffs node 14

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-10-14 10:05:25 +02:00

22 lines
458 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;
}
}
}