Skip to content

Commit

Permalink
fix: add correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Jan 29, 2024
1 parent fde8b76 commit 38da87d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {

}
declare global {}
4 changes: 2 additions & 2 deletions src/components/AddressList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script setup lang="ts">
import { computed } from 'vue'
type Address = {
interface CanBeUsed {
used: boolean
}
Expand All @@ -25,7 +25,7 @@ const props = defineProps({
* Addresses generated
*/
addresses: {
type: Array<Address>,
type: Array<CanBeUsed>,
required: true,
},
/**
Expand Down
3 changes: 3 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ declare module '*.svg' {
const content: string
export default content
}
declare module 'vuex' {
function useStore<T = any>(key?: string): T
}

0 comments on commit 38da87d

Please sign in to comment.