Skip to content

refactor: export QR code public types from index.ts - #2309

Merged
rkaraivanov merged 1 commit into
masterfrom
rkaraivanov/export-qr-code-public-types
Aug 4, 2026
Merged

refactor: export QR code public types from index.ts#2309
rkaraivanov merged 1 commit into
masterfrom
rkaraivanov/export-qr-code-public-types

Conversation

@rkaraivanov

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings August 4, 2026 15:16
@rkaraivanov rkaraivanov added the QR label Aug 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Exports the QR code component’s public style/configuration union types from the package entrypoint so consumers can reference them directly (e.g. for typing dotStyle, squareStyle, errorLevel).

Changes:

  • Re-export QrErrorCorrectionLevel, QrDotStyle, and QrCornerSquareStyle from src/index.ts.

Comment thread src/index.ts
Comment on lines +214 to +218
export type {
QrErrorCorrectionLevel,
QrDotStyle,
QrCornerSquareStyle,
} from './components/qr-code/types.js';
@rkaraivanov
rkaraivanov merged commit 552250a into master Aug 4, 2026
8 checks passed
@rkaraivanov
rkaraivanov deleted the rkaraivanov/export-qr-code-public-types branch August 4, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants