Skip to content

Add TypeScript support with module-level type inference#1

Open
7elven wants to merge 2 commits into
masterfrom
claude/add-typescript-support-en7Kb
Open

Add TypeScript support with module-level type inference#1
7elven wants to merge 2 commits into
masterfrom
claude/add-typescript-support-en7Kb

Conversation

@7elven
Copy link
Copy Markdown
Owner

@7elven 7elven commented Mar 24, 2026

  • Add index.d.ts with AbrequireModules interface for module augmentation
  • Overloaded use() signature: infers return type from AbrequireModules when path is registered, falls back to generic T or any
  • Update package.json with types field pointing to index.d.ts

https://claude.ai/code/session_01N5DvsVCB3oVxB8qNNKGcvy

claude added 2 commits March 24, 2026 11:41
- Add index.d.ts with AbrequireModules interface for module augmentation
- Overloaded use() signature: infers return type from AbrequireModules when path is registered, falls back to generic T or any
- Update package.json with types field pointing to index.d.ts

https://claude.ai/code/session_01N5DvsVCB3oVxB8qNNKGcvy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants