MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / assertNever

Function assertNever

cli/src/hooks/use-chat-keyboard.ts:109–111  ·  view source on GitHub ↗

* Dispatches a keyboard action to the appropriate handler.

(action: never)

Source from the content-addressed store, hash-verified

107 * Dispatches a keyboard action to the appropriate handler.
108 */
109function assertNever(action: never): never {
110 throw new Error(`Unhandled chat keyboard action: ${String(action)}`)
111}
112
113function dispatchAction(
114 action: ChatKeyboardAction,

Callers 1

dispatchActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected