Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

dtslint or dts-critic should check that the source package isn't already typed

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

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

Start with dts-critic, which already downloads the package and uses parts of DT-tools. Determine where it can detect that the source package is already typed, then make CI fail for that case. Done means a DefinitelyTyped package relying on existing source types is rejected before it requires a separate cleanup pull request.

Written by the indexing model from the issue text.

Description

dts-critic already downloads the package and depends on (parts of) DT-tools, so it's probably the best place to add this. Would have prevented the need for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/52789 by failing CI on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/52668

Dominant language
TypeScript
Stars
423
Forks
237
Avg merge
18h 18m
Merged PRs (30d)
11

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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.

More from microsoft/DefinitelyTyped-tools

All issues in microsoft/DefinitelyTyped-tools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.