NotionX / NotionX/react-notion-x

Interface Collection in notion-types is not correcet?

Open
#557 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

image Use the function getPage from NotionAPI to get data. The type Colloection declare at the right. I want to use property description and cover, but not declare in Interface.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to the Collection type used by NotionAPI.getPage; start by locating that declaration and checking the returned type for description and cover. Confirm that the expected property access is represented in TypeScript, then verify the repository's existing type checks or tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.