MCPcopy
hub / github.com/bombshell-dev/clack / _setValue

Method _setValue

packages/core/src/prompts/prompt.ts:193–196  ·  view source on GitHub ↗
(value: TValue | undefined)

Source from the content-addressed store, hash-verified

191 }
192
193 protected _setValue(value: TValue | undefined): void {
194 this.value = value;
195 this.emit('value', this.value);
196 }
197
198 protected _setUserInput(value: string | undefined, write?: boolean): void {
199 this.userInput = value ?? '';

Callers 4

constructorMethod · 0.80
#refreshMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected