Skip to content

Conversation

@aesgdo
Copy link
Contributor

@aesgdo aesgdo commented Aug 16, 2025

added line

"types": "./lib/index.d.ts"

in exports : { "." : { ...

to typescript knowns where the types are whe you exports the module.

Summary

Explain the change (what & why).

Type of change

  • [x ] Bug fix
  • New feature
  • Breaking change
  • Chore / Maintenance
  • Docs update

Checklist

  • Code builds locally (npm run build:npm)
  • Linting/format (if applicable) passes
  • Updated documentation (README / docs) if needed
  • Added tests or explanation why not (project currently lacks tests)
  • Version bump NOT included (handled by release process)

How to test

Steps or code snippet to verify.

When to install in nextjs project typescript could not find file types .d.ts

Screenshots / Logs

If UI or meaningful logs changed.

Related issues

Link to issues this PR closes (e.g. Closes #123).

Additional context

Anything else reviewers should know.

added line

"types": "./lib/index.d.ts"

in exports : { "." : { ...

to typescript knowns where the types are whe you exports the module.
@aesgdo aesgdo requested a review from Rajesh-Royal as a code owner August 16, 2025 01:08
@netlify
Copy link

netlify bot commented Aug 16, 2025

Deploy Preview for broprintjs canceled.

Name Link
🔨 Latest commit 287cfc3
🔍 Latest deploy log https://app.netlify.com/projects/broprintjs/deploys/689fd9f66bd6770007f5de7c

@Rajesh-Royal Rajesh-Royal merged commit 43996cc into Rajesh-Royal:develop Aug 17, 2025
5 checks passed
@Rajesh-Royal
Copy link
Owner

Thanks @aesgdo

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