Skip to content

Commit

Permalink
fix: Incorrect type for listPages method
Browse files Browse the repository at this point in the history
  • Loading branch information
leo91000 committed Jun 26, 2022
1 parent c5e2eae commit e56df35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class LyonkitReadonlyApiClient {

// PAGES

public async listPages(): Promise<PageOuput> {
public async listPages(): Promise<PageOuput[]> {
return this.fetch('/page')
}

Expand Down

0 comments on commit e56df35

Please sign in to comment.