mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor(editor): Replace mixed style of defineProps with the new style (no-changelog) (#9787)
This commit is contained in:
committed by
GitHub
parent
1e8716a607
commit
08c6e9b571
@@ -1,17 +1,13 @@
|
||||
<script lang="ts" setup>
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
import type { PropType } from 'vue';
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'update:modelValue', feedback: 'positive' | 'negative'): void;
|
||||
}>();
|
||||
|
||||
defineProps({
|
||||
modelValue: {
|
||||
type: String as PropType<'positive' | 'negative' | undefined>,
|
||||
default: undefined,
|
||||
},
|
||||
});
|
||||
defineProps<{
|
||||
modelValue?: 'positive' | 'negative';
|
||||
}>();
|
||||
|
||||
const i18n = useI18n();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user