DavidWells / DavidWells/analytics
TS: Bundle Type definition for use-analytics
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if use-analytics npm package can bundle type definitions. It would help me get rid of this from my code:
https://gitlab.com/trao/trao.dev/-/blob/master/global.d.ts#L11
I would be happy to file a PR to fix this.
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 inspecting the use-analytics package entry point and its package publishing configuration; the issue does not name repository files. Compare the package with the linked global.d.ts workaround, and consider the work complete when consumers no longer need that external declaration for type support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100