Crash Report: Argument of type '"-" | { groupSeparator: string; }' is not assignable to parameter of type 'object'.
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
TypeScript error in /Users/usman/Downloads/interface-main/src/components/claim/AddressClaimModal.tsx(114,53):
Argument of type '"-" | { groupSeparator: string; }' is not assignable to parameter of type 'object'.
Type 'string' is not assignable to type 'object'. TS2345
Steps to Reproduce
- clone Repo
- npm install --force
- npm start
- Crash and produce Error

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the TypeScript error with npm install --force and npm start, then inspect src/components/claim/AddressClaimModal.tsx at line 114 and the reported argument type. Done means the project starts without this TS2345 error and the affected claim modal still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100