swc-project / swc-project/swc-node

Export Types

Open
#633 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2k
Forks
95
Avg merge
14d 11h
Merged PRs (30d)
1

Description

"main": "index.js",
"types": "register.d.ts", // <-- new
"files": ["index.js", "lib", "README.md", "LICENSE", "*.d.ts"]

The @swc-node/register should exports types

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.

Research direction

Start by inspecting the package metadata containing the main, types, and files entries, along with index.js and the referenced register.d.ts. Confirm how @swc-node/register is packaged and exported, then verify that consumers can discover its TypeScript types and that the listed files include the declaration file.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.