Skip to content
Snippets Groups Projects
Verified Commit b18f6a5d authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

add type annotations

parent bbbaec95
Branches
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ export def generate-index [figures: table, --reset-index] {
] | each { $" ($in)" } | str join "\n") | save --force index.html
}
export def update-pages [--reset-index] {
export def update-pages [--reset-index]: [ record<cpu: string, figures: table> -> nothing ] {
let cpu = $in.cpu
let figures = $in.figures | flatten figures | update out { path parse | get stem } | rename --column { out: hash }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment