dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

Fixing Page#content return type (#164) #166

Open Angoooose opened 2 years ago

Angoooose commented 2 years ago

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 commented 1 year ago

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