chore(typescript): minor fixes (#110)

This commit is contained in:
Sylvain Marroufin
2022-11-02 10:50:40 +01:00
committed by GitHub
parent 4cbe983f61
commit 8ea3223071
2 changed files with 3 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ const groups = computed(() => map(groupBy(results.value, command => command.item
return {
...props.groups.find(group => group.key === key),
commands: commands.slice(0, options.value.resultLimit)
}
} as Group
}))
// Methods

View File

@@ -9,7 +9,8 @@
</template>
<script setup lang="ts">
import { PropType, computed, toRef } from 'vue'
import type { PropType } from 'vue'
import { computed, toRef } from 'vue'
import { defu } from 'defu'
import { usePopper } from '../../composables/usePopper'
import type { PopperOptions } from '../../types'