property WSContextValue.castCommentLike

Likes a comment, as WSContextValue.castVote upvotes a dump.

Type

(
commentId: string,
shownCount?: number
) => void

Usage

import { type WSContextValue } from "src/contexts/ws/WSContext.ts";