You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the exported type definitions don't match the actual exported things at all. The example code in the README all works, but TypeScript shows errors for every example.
Edit: Actually just ignoring the type errors isn't enough. The actual exported items are not defined correctly:
import { AutoComplete } from 'enquirer'
^
SyntaxError: The requested module 'enquirer' does not provide an export named 'AutoComplete'
Hey great library. One small issue I ran into:
is an error in TS. Workaround, for anyone landing here from Google, is simple
The text was updated successfully, but these errors were encountered: