Skip to content

Commit

Permalink
fix: export types correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Sep 5, 2024
1 parent 1c46acf commit 15fca02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/Footer/WFooter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export type FooterSection = {
title: string
links: FooterLink[]
}
export type FooterLink = {
url: string
label: string
}
export type FooterSection = {
title: string
links: FooterLink[]
}
2 changes: 1 addition & 1 deletion src/components/Footer/WFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<script setup lang="ts">
import AdoIcon from '@/assets/svg/ado.svg?component'
import WitOracleIcon from '@/assets/svg/witnet-logo-dark.svg?component'
import { FooterSection } from './WFooter.ts'
import { FooterSection } from './WFooter'
import WSection from '@/components/Section/WSection.vue'
import { PropType } from 'vue'
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import WSocialsBar from './components/SocialsBar/WSocialsBar.vue'

export { buttonTypes } from './components/Button/WButton'
export { CardType, cardTypes } from './components/Card/WCard'
export { FooterSection, FooterLink } from './components/Footer/WFooter'
export { type FooterSection, type FooterLink } from './components/Footer/WFooter'
export { IconName, iconNames } from './components/icon/WIcon'
export { IconTextPosition, iconTextPositions } from './components/IconText/WIconText'
export { InputType, inputTypes } from './components/Input/WInput'
export { NavLinks, NavLink } from './components/Navbar/WNavbar'
export { type NavLinks, type NavLink } from './components/Navbar/WNavbar'
export {
Option,
type Option,
DropdownYPosition,
DropdownXPosition,
dropdownYPositions,
Expand Down

0 comments on commit 15fca02

Please sign in to comment.