Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
fixed ApiPagedResponse.nextToken to just return string | undefined
Browse files Browse the repository at this point in the history
…since number is not allowed anymore (#316)
  • Loading branch information
fuxingloh authored Aug 4, 2021
1 parent 1e6b15c commit 33d28e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whale-api-client/src/whale.api.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class ApiPagedResponse<T> extends Array<T> {
/**
* @return {string} next token
*/
get nextToken (): string | number | undefined {
get nextToken (): string | undefined {
return this._paginate.page?.next
}
}

0 comments on commit 33d28e8

Please sign in to comment.