Skip to content

Conversation

nstepien
Copy link
Collaborator

@nstepien nstepien commented Feb 10, 2021

https://api-extractor.com/
Inspired by puppeteer/puppeteer#6837

With this PR, we'll ship a single lib/index.d.ts file, instead of many .d.ts files.

Pros:

  • Private values/types/APIs cannot be imported anymore
    • Will make it easier to avoid breaking changes with future releases.
  • Cleaner intellisense since we'll have fewer types available to import image
  • Smaller package size
  • Could be used in the future to automatically generate documentation

@nstepien nstepien self-assigned this Feb 10, 2021
@nstepien nstepien marked this pull request as ready for review February 10, 2021 18:59
}

export default memo(forwardRef(Cell)) as <R, SR = unknown>(props: CellRendererProps<R, SR> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
export default memo(forwardRef(Cell)) as <R, SR = unknown>(props: CellRendererProps<R, SR> & RefAttributes<HTMLDivElement>) => JSX.Element;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
image
🤷

amanmahajan7
amanmahajan7 previously approved these changes Feb 10, 2021
Co-authored-by: Aman Mahajan <amahajan@stratag.com>
@nstepien nstepien enabled auto-merge (squash) February 10, 2021 20:50
@nstepien nstepien merged commit 8e25e00 into canary Feb 10, 2021
@nstepien nstepien deleted the api branch February 10, 2021 20:51
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.

2 participants