Cannot Find TypeScript Definitions

Open
#54 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Domain
documentation

Research direction

Start with the reported Yarn command and the node-util package's TypeScript definitions status. Confirm whether this library provides or points to definitions, then document the supported way to add them or clearly explain that no definitions are available.

Written by the indexing model from the issue text.

Description

Hello!

Apologize for being a dingus on this.

I've tried

yarn add --registry=https://registry.npmjs.org @types/util

But this is what I get

dev ±✚  ⬡ v12.17.0  yarn add --registry=https://registry.npmjs.org @types/util
yarn add v1.22.5
[1/4] 🔍  Resolving packages...
error An unexpected error occurred: "https://registry.npmjs.org/@types%2futil: Not found".
info If you think this is a bug, please open a bug report with the information provided in "/Users/lknecht/Repositories/palantir-test-data-helpers/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Can you provide guidance on how to add type definitions for this library?

Dominant language
JavaScript
Stars
255
Forks
93
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from browserify/node-util

All issues in browserify/node-util

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.