Skip to content

docs: fix variable redeclaration in number/uint64/base/assert/is-equal TypeScript example - #16991

Merged
kgryte merged 1 commit into
developfrom
claude/great-cerf-e9cbc5
Nov 30, 2026
Merged

kgryte merged 1 commit into
developfrom
claude/great-cerf-e9cbc5

Conversation

@Planeshifter

Copy link
Copy Markdown
Member

Description

What is the purpose of this pull request?

Follow-up fixes for commits merged to develop between 2026-11-28T23:38:53+01:00 (238ed7c9) and 2026-11-29T13:04:07+01:00 (ec444f74).

This pull request:

  • number/uint64/base/assert/is-equal: Fix duplicate var v declaration in the words @example of lib/node_modules/@stdlib/number/uint64/base/assert/is-equal/docs/types/index.d.ts (51b0022). The snippet now reassigns (v = isEqual.words( 0, 5, 0, 10 );), matching the lib/words.js JSDoc example.

Related Issues

Does this pull request have any related issues?

No.

Reference Packages

Did the content of this pull request follow one or more existing packages? Answering is optional.

This pull request followed these packages:

  • number/uint64/base/assert/is-equal (lib/words.js JSDoc example)

What carried over from the reference(s)?

  • Example reassignment pattern.

What differed, or what did you have to work out yourself?

  • Nothing.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Validation. Reviewed all 49 first-parent commits in the window (auto-generated REPL data/ files excluded): two independent stdlib style-guide compliance passes (new packages/features vs. reference packages; mechanical docs/refactor/lint commits) and two bug scans (diff-only; logic/security, including prototype-pollution checks on utils/json-patch/base/set and the bench/harness execution-order refactor). Only the issue above survived filtering.

Deliberately excluded: anything requiring interpretation, and anything outside the diff window (e.g., stats/base/dists/weibull/logcdf/docs/types/index.d.ts still annotating 0.0 for +Infinity while lib/native.js now says -0.0; that line was not touched in the window).

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

This PR was written primarily by Claude Code as part of an automated review of commits merged to develop in the last 24 hours.



Generated by Claude Code

…al` TypeScript example

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wWD7BXLtKoNPShsZVKsPm
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
number/uint64/base/assert/is-equal $\\color{green}209/209$
$\\color{green}+100.00\\%$
$\\color{green}7/7$
$\\color{green}+100.00\\%$
$\\color{green}3/3$
$\\color{green}+100.00\\%$
$\\color{green}209/209$
$\\color{green}+100.00\\%$

The above coverage report was generated for the changes in this PR.

@ItsAbir005 ItsAbir005 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kgryte kgryte added the Documentation Improvements, additions, or changes to documentation. label Nov 30, 2026
@kgryte
kgryte marked this pull request as ready for review November 30, 2026 08:45
@kgryte
kgryte requested a review from a team November 30, 2026 08:45
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Nov 30, 2026
@kgryte
kgryte merged commit ab42bda into develop Nov 30, 2026
50 checks passed
@kgryte
kgryte deleted the claude/great-cerf-e9cbc5 branch November 30, 2026 08:45
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants