resolve-import
    Preparing search index...

    Function findStarMatch

    • Given an object with string keys possibly containing *, and a test string, return the matching key, and the section that the star should expand to when matching against the test string.

      Parameters

      • s: string
      • obj: Record<string, any>

      Returns [string, string] | null