Skip to content

Commit

Permalink
style: 优化类型引入错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed May 6, 2024
1 parent eecb991 commit 50541cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/fighting-design/button/__test__/button.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { FButton } from '../index'
import { useColor } from '../../_hooks'
import { FIGHTING_SIZE, FIGHTING_TYPE, FIGHTING_TARGET } from '../../_tokens'
import { FSvgIcon } from '../../svg-icon'
import type { ButtonNative, ButtonTarget } from '../index'
import type { ButtonNative } from '../index'
import type { FightingTarget } from '../../_interface'
import type { FightingType, FightingSize } from '../../_interface'

describe('FButton', () => {
Expand Down Expand Up @@ -90,7 +91,7 @@ describe('FButton', () => {
})

test('target', () => {
FIGHTING_TARGET.forEach((item: ButtonTarget) => {
FIGHTING_TARGET.forEach((item: FightingTarget) => {
const wrapper = mount(FButton, {
props: { href: 'https://tianyuhao.cn', target: item }
})
Expand Down

0 comments on commit 50541cd

Please sign in to comment.