This commit is contained in:
Half-Shot
2024-12-05 11:35:01 +00:00
parent c7a56f7d66
commit c5f297d108
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ const TestComponent: FC = () => {
}
return (
<>
<button onClick={() => audioCtx.playSound("aSound")}>Valid sound</button>
<button onClick={async () => audioCtx.playSound("aSound")}>Valid sound</button>
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/}
<button onClick={() => audioCtx.playSound("not-valid" as any)}>
<button onClick={async () => audioCtx.playSound("not-valid" as any)}>
Invalid sound
</button>
</>