denoland / denoland/std

CsvParseStream: no autocomplete for constructor options

Open
#6,435 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

When constructing new `CsvParseStream` instances, VSCode provides no suggestions for option names (e.g. `skipFirstRow`, `columns`, etc.).

**Steps to Reproduce**

1. Create a script with a call to `new CsvParseStream()`
1. Attempt to add options via an object argument and add `columns` or some other property
1. Notice how you need to know the names of the options; no autocomplete happens and no links to the rich JSDocs is provided

**Expected behavior**

Auto-completion and JSDoc references work as normal.

**Environment**

- OS: MacOS 15.3.1
- deno version: 2.2.0
- std version: jsr:@std/csv@1.0.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.