web-forms vue component package doesn't export types
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When creating the demo app in a separate repo imports from `@getodk/web-forms` complained about being unable to find types while `@getodk/xforms-engine` did not.
I think it's because
1. we're missing `"types": "./dist/index.d.ts",` from the package.json
2. we're missing `"declaration": true` from the tsconfig.json
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect package.json and tsconfig.json in the web-forms package, then compare the type-export setup with @getodk/xforms-engine. Run the separate demo app or an equivalent import check, and consider the issue done when imports from @getodk/web-forms resolve its generated TypeScript declarations without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100