Open RebeccaStevens opened 4 months ago
It's an interesting idea! My personal inclination is that this should be a separate package. ts-api-utils
is a lot of very generalized utilities. typesMatchesSpecifier
is a pretty specific format that's also still relatively new in usage. Having the separate ts-declaration-location be able to iterate on its own feels right to me. Just my two cents 😄 putting into discussion.
Yeah that makes sense. I'm perfectly happy to continue with it in its own repo.
Bug Report Checklist
main
branch of the repository.Overview
Essentially adds the
typeMatchesSpecifier
function from ts-declaration-location.This function is only for testing where a type is defined, not filtering the type based on its name or anything else. That could be new functionality in the future.
Additional Info
No response