Though it is currently possibly to determine most types from the default export...
import cliui from 'cliui';
type UI = ReturnType<typeof cliui>;
type UIOptions = Parameters<typeof cliui>[0];
...these types are rather finicky. It would be great if more finalized types were exported from this package.
Though it is currently possibly to determine most types from the default export...
...these types are rather finicky. It would be great if more finalized types were exported from this package.