Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Search DefinitelyTyped _and_ NPM #30

@danvk

Description

@danvk

So far as I can tell, TypeSearch only searches packages whose types are defined in DefinitelyTyped. But it's preferable if a package defines and distributes its own types (so that the versions always match).

It would be better if TypeSearch were able to find these packages. For instance, if I type react-mapbox-gl on https://microsoft.github.io/TypeSearch/, nothing comes up, even though that package distributes TypeScript type declarations.

There are NPM indices which can do this sort of search, for example:
https://www.pikapkg.com/packages/?q=has:types

or https://www.pikapkg.com/packages/?q=react-mapbox-gl
image

The arrow indicates that package.json for that module has a types property. cc @FredKSchott

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions