Skip to content

fix: separate import and JSDoc comment in math/tools/unary types#12459

Merged
kgryte merged 1 commit into
developfrom
philipp/fix-tools-unary-import-jsdoc-formatting
Jun 3, 2026
Merged

fix: separate import and JSDoc comment in math/tools/unary types#12459
kgryte merged 1 commit into
developfrom
philipp/fix-tools-unary-import-jsdoc-formatting

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

@Planeshifter Planeshifter commented Jun 2, 2026

Description

What is the purpose of this pull request?

This pull request fixes a formatting issue in the @stdlib/math/tools/unary TypeScript declarations: the import { ... } from '@stdlib/types/ndarray'; statement was jammed onto the same physical line as the /** opening the InputArray JSDoc comment, with no separating newline (...ndarray';/**). The line is split so the import ends at its semicolon and the JSDoc comment begins on its own lines, matching the surrounding declarations.

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request?

Found via a TypeScript-declaration audit of the @stdlib/math namespace.

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.

This issue was identified by an automated TypeScript-declaration audit run with Claude Code, and the fix was prepared by Claude Code under my review.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Math Issue or pull request specific to math functionality. label Jun 2, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented Jun 2, 2026

Coverage Report

Package Statements Branches Functions Lines
math/tools/unary $\color{red}230/392$
$\color{green}+0.00\%$
$\color{green}3/3$
$\color{green}+0.00\%$
$\color{red}0/2$
$\color{green}+0.00\%$
$\color{red}230/392$
$\color{green}+0.00\%$

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

In the `@stdlib/math/tools/unary` TypeScript declarations, the
`import { ... } from '@stdlib/types/ndarray';` statement was jammed onto
the same physical line as the `/**` opening the `InputArray` JSDoc
comment, with no separating newline (`...ndarray';/**`). Split the line
so the import ends at its semicolon and the JSDoc comment begins on its
own lines, matching the surrounding declarations.

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown_pkg_readmes
    status: na
  - task: lint_markdown_docs
    status: na
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: na
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: na
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: na
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: passed
  - task: lint_typescript_tests
    status: passed
  - task: lint_license_headers
    status: passed
---
@Planeshifter Planeshifter force-pushed the philipp/fix-tools-unary-import-jsdoc-formatting branch from 897cb9f to 10e2702 Compare June 3, 2026 00:09
@Planeshifter Planeshifter marked this pull request as ready for review June 3, 2026 00:16
@Planeshifter Planeshifter requested review from a team and kgryte June 3, 2026 00:16
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jun 3, 2026
@kgryte kgryte removed the Needs Review A pull request which needs code review. label Jun 3, 2026
@kgryte kgryte merged commit 18365d7 into develop Jun 3, 2026
37 checks passed
@kgryte kgryte deleted the philipp/fix-tools-unary-import-jsdoc-formatting branch June 3, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Math Issue or pull request specific to math functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants