You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
ljharb commentedon Dec 18, 2020
The implication is that none exist.
however, if you use the node types, then the types for this package would presumably be similar to
typeof require(‘util’)