Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

fix(types): Accept string for UserConfig.indentation#1145

Open
andersk wants to merge 1 commit intoi18next:masterfrom
andersk:indentation
Open

fix(types): Accept string for UserConfig.indentation#1145
andersk wants to merge 1 commit intoi18next:masterfrom
andersk:indentation

Conversation

@andersk
Copy link

@andersk andersk commented Aug 5, 2025

Why am I submitting this PR

JSON.stringify already accepts a string here, and it’s useful to be able to pass "\t".

Does it fix an existing ticket?

No

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • do no modify the version in package.json or CHANGELOG.md
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added

JSON.stringify already accepts a string here, and it’s useful to be
able to pass "\t".

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant