mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +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,16 +1,11 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PropType } from 'vue';
|
||||
import type { GenericValue } from 'n8n-workflow';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
content: {
|
||||
type: [Object, String, Number] as PropType<GenericValue>,
|
||||
},
|
||||
search: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
const props = defineProps<{
|
||||
content: GenericValue;
|
||||
search?: string;
|
||||
}>();
|
||||
|
||||
const splitTextBySearch = (
|
||||
text = '',
|
||||
|
||||
Reference in New Issue
Block a user