stdlib-js / stdlib-js/stdlib

Insufficient TypeScript declaration tests for `@stdlib/utils/circular-buffer`

未关闭
#474 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Good First Issue TypeScript
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

### Description

Upon inspection of the TypeScript declaration tests for `@stdlib/utils/circular-buffer`, I noticed that the current [tests](https://github.com/stdlib-js/stdlib/blob/9f4976914e42495101d6a0717626a28a0dea2b72/lib/node_modules/%40stdlib/utils/circular-buffer/docs/types/test.ts) do not cover the entire API.

These tests should be expanded to cover the entire API surface to ensure that the current definitions are correct.

### Related Issues

None.

### Questions

No.

### Demo

_No response_

### Reproduction

```shell
N/A
```

### Expected Results

```shell
N/A
```

### Actual Results

```shell
n/A
```

### Version

_No response_

### Environments

N/A

### Browser Version

_No response_

### Node.js / npm Version

_No response_

### Platform

_No response_

### Checklist

- [X] Read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.

贡献指南

打开贡献指南

调研方向

Start with lib/node_modules/@stdlib/utils/circular-buffer/docs/types/test.ts and inspect the @stdlib/utils/circular-buffer API to identify declarations not currently exercised. Expand the declaration tests to cover the full API surface, then run the package's TypeScript declaration test suite and confirm the definitions are validated.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。