Skip to content

type definition files being flagged as unused #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Soviut opened this issue Mar 31, 2025 · 0 comments
Open

type definition files being flagged as unused #25

Soviut opened this issue Mar 31, 2025 · 0 comments

Comments

@Soviut
Copy link

Soviut commented Mar 31, 2025

I have an index.ts file that exports a types.d.ts file. However, that types file still gets flagged as unused.

export type * from './types'
export * from './context'
export * from './provider'
export * from './use'

For now, my workaround is to exclude **.d.ts but that shouldn't really be necessary.

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

No branches or pull requests

1 participant