makenotion / notion-sdk-js

Official Notion JavaScript Client
https://developers.notion.com/docs
MIT License
4.95k stars 591 forks source link

AnnotationResponse type not exported #507

Open jwanner83 opened 6 months ago

jwanner83 commented 6 months ago

Describe the bug The AnnotationResponse type, which is internaly used inside of any RichTextItemResponses isn't correctly exposed / usable as type. This would be easaly fixable with one word export.

The reason why this type should be exported is, because it helps when developing a ui element which displays the rich text response.

To Reproduce Node version: 21.7.3 Notion JS library version: 2.2.15

I will create a pull request to fix this problem. Thats why I didn't add steps to reproduce.