Skip to content

Conversation

@Angoooose
Copy link

Changing the return type of Page#content to the promise of an array of PageSection (a new interface). Return type was previously the promise of a string, which was incorrect.

Resolves #164

@qucchia
Copy link

qucchia commented Dec 5, 2022

@dijs Please pull this in! Otherwise I have to manually declare the types to fix the incorrect declarations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TS] Page.content() has incorrect return type

2 participants