Skip to content

Commit

Permalink
fix typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
eahanson committed Jun 7, 2024
1 parent 15b82f6 commit eca9a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html_query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ defmodule HtmlQuery do
]
```
"""
@spec table(html(), keyword()) :: [[]]
@spec table(html(), keyword()) :: [[]] | [map()]
def table(html, opts \\ []) do
rows = [header_row | non_header_rows] = html |> parse() |> all("tr")

Expand Down

0 comments on commit eca9a01

Please sign in to comment.