Skip to content

Commit

Permalink
fix: typing get games america
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien ETIENNE committed Sep 10, 2019
1 parent a24cfec commit 2d756b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const isStringArray = (array: string | string[]): array is string[] => {
* @returns {Promise<GameUS[]>} Promise containing all the games
* @method
*/
export const getGamesAmerica = async (options: USRequestOptions = {}, offset = 0, games: GameUS[] = []): Promise<any> => {
export const getGamesAmerica = async (options: USRequestOptions = {}, offset = 0, games: GameUS[] = []): Promise<GameUS[]> => {
/* eslint-disable */
const limit = hasProp(options, 'limit') ? options.limit : US_GAME_LIST_LIMIT;
const shopProp = hasProp(options, 'shop') ? options.shop : 'ncom';
Expand Down

0 comments on commit 2d756b9

Please sign in to comment.