Type alias ParsedExpression

ParsedExpression: ((path, basename?, hasSibling?) => string | Promise<string>)

Type declaration

    • (path, basename?, hasSibling?): string | Promise<string>
    • Parameters

      • path: string
      • Optional basename: string
      • Optional hasSibling: ((name) => boolean | Promise<boolean>)
          • (name): boolean | Promise<boolean>
          • Parameters

            • name: string

            Returns boolean | Promise<boolean>

      Returns string | Promise<string>