Fix type name for ‘string’
Merge pull request #15 from infosia/fix_gen_method

Fix type name for ‘string’