Skip to content

Commit 5f521cb

Browse files
committed
chore: fix lint issues
1 parent 3e542a8 commit 5f521cb

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

scripts/build-css.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ const buildAll = async () => {
3737
try {
3838
await fs.access(filepath)
3939
await runBuild(name, filepath)
40-
} catch (e) {
41-
}
40+
} catch {}
4241
}
4342
})
4443
await Promise.all(results)

src/components/button/CloseButton.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<script lang="ts">
22
import type { ButtonProps } from './Button.vue'
3-
4-
export interface CloseButtonProps extends ButtonProps {}
53
</script>
64

75
<script setup lang="ts">
86
import { Primitive } from 'reka-ui'
97
import CrossIcon from '~icons/radix-icons/cross-2'
108
import { buildPropsClass } from '../util'
119
12-
const props = withDefaults(defineProps<CloseButtonProps>(), {
10+
const props = withDefaults(defineProps<ButtonProps>(), {
1311
as: 'button',
1412
size: '2',
1513
variant: 'ghost',

src/components/button/IconButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import type { ButtonProps } from './Button.vue'
33
4-
export interface IconButtonProps extends ButtonProps {}
4+
export type IconButtonProps = ButtonProps
55
</script>
66
77
<script setup lang="ts">

src/components/button/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ export {
1010

1111
export {
1212
default as CloseButton,
13-
type CloseButtonProps,
1413
} from './CloseButton.vue'

src/components/dialog/AlertDialogPopup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type {
55
} from 'reka-ui'
66
import ThemeWrapper from '../provider/ThemeWrapper.vue'
77
8-
export interface AlertDialogPopupProps extends AlertDialogContentProps {}
8+
export type AlertDialogPopupProps = AlertDialogContentProps
99
</script>
1010
1111
<script setup lang="ts">

src/components/radio/RadioTabsItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import type { RadioGroupItemProps } from 'reka-ui'
33
4-
export interface RadioTabsItemProps extends RadioGroupItemProps {}
4+
export type RadioTabsItemProps = RadioGroupItemProps
55
</script>
66
77
<script setup lang="ts">

0 commit comments

Comments
 (0)