mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix design system typecheck errors (no-changelog) (#9447)
This commit is contained in:
@@ -17,7 +17,7 @@ import type { TextSize } from '@/types/text';
|
||||
const THEME = ['primary', 'danger', 'text', 'secondary'] as const;
|
||||
|
||||
interface LinkProps {
|
||||
to?: RouteLocationRaw;
|
||||
to?: RouteLocationRaw | string;
|
||||
size?: TextSize;
|
||||
newWindow?: boolean;
|
||||
bold?: boolean;
|
||||
@@ -27,6 +27,8 @@ interface LinkProps {
|
||||
|
||||
defineOptions({ name: 'N8nLink' });
|
||||
withDefaults(defineProps<LinkProps>(), {
|
||||
to: undefined,
|
||||
size: undefined,
|
||||
bold: false,
|
||||
underline: false,
|
||||
theme: 'primary',
|
||||
|
||||
Reference in New Issue
Block a user