Ensure types are exported
Author: fabiospampinatoCreated Feb 16, 2023Updated Dec 30, 2025
Describe the bug
It looks like a file containing types for this library is included in the repo, but it's kind of exported in package.json.
To Reproduce
- Import prompts
- Notice how there are no types
Expected behavior
I think there should be something like the following in package.json:
"types": "./index.d.ts",Additional context
N/A
Source: terkelg/prompts