Skip to content
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

Include types for constants and utils #856

Open
alexeyr-ci opened this issue Nov 23, 2023 · 0 comments
Open

Include types for constants and utils #856

alexeyr-ci opened this issue Nov 23, 2023 · 0 comments
Labels

Comments

@alexeyr-ci
Copy link
Contributor

alexeyr-ci commented Nov 23, 2023

Feature request description

When I wanted to use availableParsers from API (to extend it), I found I needed to do

// @ts-expect-error No declaration file
import { availableParsers } from 'depcheck/dist/constants';

Both importing from dist and missing types seem undesirable.

Similarly when using getContent for a custom parser.

@alexeyr-ci alexeyr-ci changed the title Include types for constants Include types for constants and utils Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant