Skip to content

Commit 953e854

Browse files
authored
fix: defineProps macro compiler warning (#30)
1 parent e86282c commit 953e854

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/devtools/src/app/components/chart/ModuleFlamegraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { TreeNodeInput } from 'nanovis'
33
import type { ModuleInfo, SessionContext } from '~~/shared/types'
44
import { Flamegraph, normalizeTreeNode } from 'nanovis'
5-
import { computed, defineProps, nextTick, onMounted, onUnmounted, ref, shallowRef, useTemplateRef, watch } from 'vue'
5+
import { computed, nextTick, onMounted, onUnmounted, ref, shallowRef, useTemplateRef, watch } from 'vue'
66
77
const props = defineProps<{
88
info: ModuleInfo

packages/devtools/src/app/components/data/RawEventsTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { RolldownEvent } from '~~/node/rolldown/events-manager'
33
import type { SessionContext } from '~~/shared/types'
44
import { Dropdown as VDropdown } from 'floating-vue'
5-
import { defineProps, withDefaults } from 'vue'
5+
import { withDefaults } from 'vue'
66
77
type FIELDS = 'module_id' | 'action' | 'content' | 'timestamp' | 'event_id' | 'plugin_name' | '*'
88

0 commit comments

Comments
 (0)