Skip to content

Commit

Permalink
fix(qrcode): export QRCodeSegment as type
Browse files Browse the repository at this point in the history
close #178
  • Loading branch information
JounQin authored Jan 28, 2024
1 parent d97b1ca commit 3ce9bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-qrcode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const MASK_PATTERNS = [0, 1, 2, 3, 4, 5, 6, 7] as const

export const MODES = ['alphanumeric', 'numeric', 'kanji', 'byte'] as const

export { QRCodeSegment } from 'qrcode'
export type { QRCodeSegment } from 'qrcode'

export type QRCodeValue = QRCodeSegment[] | string

Expand Down

0 comments on commit 3ce9bea

Please sign in to comment.