feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)

This commit is contained in:
Kit Langton
2026-04-15 23:27:32 -04:00
committed by GitHub
parent 343a564183
commit 80f1f1b5b8
103 changed files with 212 additions and 187 deletions
+3 -2
View File
@@ -6,7 +6,8 @@ import { IconButton } from "./icon-button"
import { Tooltip } from "./tooltip"
export interface TextFieldProps
extends ComponentProps<typeof Kobalte.Input>,
extends
ComponentProps<typeof Kobalte.Input>,
Partial<
Pick<
ComponentProps<typeof Kobalte>,
@@ -75,7 +76,7 @@ export function TextField(props: TextFieldProps) {
}
function handleClick() {
if (local.copyable) handleCopy()
if (local.copyable) void handleCopy()
}
return (