Skip to content

Fix incorrect Internationalization import usage in README#15

Merged
Peter080202 merged 1 commit intomainfrom
fix-import-usage-in-readme
Apr 28, 2026
Merged

Fix incorrect Internationalization import usage in README#15
Peter080202 merged 1 commit intomainfrom
fix-import-usage-in-readme

Conversation

@Peter080202
Copy link
Copy Markdown
Contributor

Description

This PR fixes incorrect documentation regarding the import of Internationalization from @aboutbits/internationalization.

The docs previously suggested a named import:

import { Internationalization } from '@aboutbits/internationalization'

However, the package actually exposes Internationalization as a default export, so the correct usage is:

import Internationalization from '@aboutbits/internationalization'

Why is this change needed?

The previous documentation is misleading and results in a TypeScript error (TS2614).

Tests

N/A (only README file update 🙂)

@Peter080202 Peter080202 self-assigned this Apr 20, 2026
@Peter080202 Peter080202 added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 20, 2026
@Peter080202 Peter080202 requested a review from lukasvice April 20, 2026 13:53
@Peter080202 Peter080202 merged commit 18b5915 into main Apr 28, 2026
2 checks passed
@Peter080202 Peter080202 deleted the fix-import-usage-in-readme branch April 28, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants