File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import type { NewOperation } from ' ~/composables/useConnector'
3+ import type Modal from ' ~/components/Modal.client.vue'
34
45const props = withDefaults (
56 defineProps <{
@@ -86,7 +87,7 @@ async function handleDeprecate() {
8687 }
8788}
8889
89- const dialogRef = ref <HTMLDialogElement >()
90+ const dialogRef = ref <InstanceType < typeof Modal > | undefined >()
9091
9192function open() {
9293 deprecateError .value = null
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ export async function packageDeprecate(
456456 }
457457
458458 const target = version ? `${ pkg } @${ version } ` : pkg
459- const args = [ 'deprecate' , target , reason ]
459+ const args = [ 'deprecate' , target , reasonText ]
460460
461461 if ( options ?. dryRun ) {
462462 args . push ( '--dry-run' )
You can’t perform that action at this time.
0 commit comments