ozdemirburak / full-name-generator

Generate random names using data from popular names and surnames of various countries.
https://fullnamegenerator.com
MIT License
26 stars 17 forks source link

typescript error #42

Open newcworld opened 4 months ago

newcworld commented 4 months ago
node_modules/.pnpm/full-name-generator@0.1.4/node_modules/full-name-generator/src/index.ts:42:54 - error TS2345: Argument of type 'Gender | undefined' is not assignable to parameter of type 'Gender'.
  Type 'undefined' is not assignable to type 'Gender'.

42   return generateMultiple(getRandomSurname, isoCode, gender, n)