mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
lint
This commit is contained in:
@@ -29,9 +29,11 @@ const TestComponent: FC = () => {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<button onClick={() => audioCtx.playSound("aSound")}>Valid sound</button>
|
<button onClick={() => void audioCtx.playSound("aSound")}>
|
||||||
|
Valid sound
|
||||||
|
</button>
|
||||||
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/}
|
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/}
|
||||||
<button onClick={() => audioCtx.playSound("not-valid" as any)}>
|
<button onClick={() => void audioCtx.playSound("not-valid" as any)}>
|
||||||
Invalid sound
|
Invalid sound
|
||||||
</button>
|
</button>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user