Skip to content

Commit 73e094f

Browse files
authored
Fix invalid type signature (#996)
Fixes the invalid type signature that is now caught by nushell/nushell#14510
1 parent ba447f9 commit 73e094f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/mod.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export def "update terminal" [] {
244244

245245
}
246246

247-
def no-newline [] string->string {
247+
def no-newline []: string -> string {
248248
$in | str replace -r '\n$' ''
249249
}
250250

0 commit comments

Comments
 (0)