github SBoudrias/Inquirer.js @inquirer/core@8.1.0

latest releases: @inquirer/editor@4.1.0, @inquirer/core@10.1.0, inquirer@12.1.0...
6 months ago
  • [Typescript] useState doesn't require a default value anymore; in which case it'll default to undefined
  • [Typescript] useRef doesn't require a default value anymore; in which case it'll default to undefined

Examples:

const [value, setValue] = useState<number>();
// value: number | undefined;

const [value, setValue] = useState<number>(1);
// value: number;

Don't miss a new Inquirer.js release

NewReleases is sending notifications on new releases.