* 📘 Fix type errors in design system * 🔥 Remove unneeded `?` * 🔧 Add design system to Vetur * 📘 Improve typing of `$el` * ♻️ Address feedback * 📘 Type leftover `MouseEvent` * 📘 Type `event.target` properly
19 lines
490 B
TypeScript
19 lines
490 B
TypeScript
import Vue from 'vue';
|
|
import * as locale from './locale';
|
|
|
|
declare module 'vue/types/vue' {
|
|
interface Vue {
|
|
$style: Record<string, string>;
|
|
t: (key: string, options?: object) => string;
|
|
}
|
|
}
|
|
|
|
declare module 'n8n-design-system' {
|
|
export * from './components';
|
|
export { N8nUserSelect, N8nUsersList } from './components'; // Workaround for circular imports, will be removed when migrated to typescript
|
|
export { locale };
|
|
}
|
|
|
|
export * from './types';
|
|
export { locale } from './locale';
|