Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Cannot find module '@types/tronweb' or its corresponding type declarations. #1

@altbit

Description

@altbit

The project looks broken.

According to the package.json

...
   "license": "MIT",
  "main": "index.js",
  "name": "@daochild/tronweb-typescript",
...

there are no types defined and main file is index.js which doesn't exist in the package:
image

Look at the @types/uuid as a simple example how it should be done:

...
   "license": "MIT",
  "main": "",
  "name": "@types/uuid",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
    "directory": "types/uuid"
  },
  "scripts": {},
  "typeScriptVersion": "3.8",
  "types": "index.d.ts",
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions