UNPKG

goban

Version:

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/online-go/goban)

6 lines (5 loc) 379 B
import type { GobanMoveErrorMessageId } from "./GobanError"; export type MessageID = GobanMoveErrorMessageId | "error" | "error_submitting_move" | "loading" | "processing" | "self_capture_not_allowed" | "server_message" | "illegal_ko_move" | "synchronization_error"; export declare function formatMessage(message_id: MessageID, parameters?: { [key: string]: any; }): string;