Skip to content

typings: use HandleWrap for derived types - #66462

Open
leah-1ee wants to merge 1 commit into
nodejs:mainfrom
leah-1ee:typings/handlewrap-derived-types
Open

leah-1ee wants to merge 1 commit into
nodejs:mainfrom
leah-1ee:typings/handlewrap-derived-types

Conversation

@leah-1ee

@leah-1ee leah-1ee commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #66150.

Apply the shared HandleWrap interface to FSEvent, Process,
StatWatcher, and ELDHistogram, reflecting their native inheritance
and JavaScript prototype chains.

This removes duplicate declarations and exposes inherited methods
already available at runtime. It also allows the existing optional
callback for StatWatcher.close(). Runtime behavior is unchanged.

Assisted-by: Codex

@leah-1ee
leah-1ee marked this pull request as ready for review October 2, 2026 15:47
@nodejs-github-bot nodejs-github-bot added the typings Issues and PRs related to internal TypeScript declarations. label Oct 2, 2026
Reuse HandleWrap across derived internal binding types.

Assisted-by: Codex
Signed-off-by: leah-1ee <selee3196@gmail.com>
@leah-1ee
leah-1ee force-pushed the typings/handlewrap-derived-types branch from 5a05052 to 035f30f Compare October 2, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typings Issues and PRs related to internal TypeScript declarations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants