Skip to content

Commit

Permalink
fix(qrcode): export QRCodeSegment as type (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Jan 28, 2024
1 parent d97b1ca commit 842f1e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hip-beers-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vue-qrcode": patch
---

fix: export `QRCodeSegment` as type
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

1 comment on commit 842f1e2

@vercel
Copy link

@vercel vercel bot commented on 842f1e2 Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue – ./

vue-rx.vercel.app
vue-jounqin.vercel.app
rx-vue.vercel.app
vue-git-master-jounqin.vercel.app

Please sign in to comment.