Class ApiResolver

Provides efficient API resolving using globs, allowing you to quickly find functions by name, with globs permitted.

Hierarchy

  • ApiResolver

Constructors

Methods

Constructors

  • Creates a new resolver of the given type.

    Precisely which resolvers are available depends on the current platform and runtimes loaded in the current process.

    The resolver will load the minimum amount of data required on creation, and lazy-load the rest depending on the queries it receives. It is thus recommended to use the same instance for a batch of queries, but recreate it for future batches to avoid looking at stale data.

    Parameters

    Returns ApiResolver

Methods

  • Performs the resolver-specific query.

    Parameters

    • query: string

      Resolver-specific query, optionally suffixed with /i to perform case-insensitive matching.

    Returns ApiResolverMatch[]

Generated using TypeDoc