File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1- export type { ClackState as State , ValueWithCursorPart } from './types.js' ;
1+ export type { ClackState as State } from './types.js' ;
22export type { ClackSettings } from './utils/settings.js' ;
33
44export { default as ConfirmPrompt } from './prompts/confirm.js' ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default class Prompt<TValue> {
2626 protected output : Writable ;
2727 private _abortSignal ?: AbortSignal ;
2828
29- protected rl : ReadLine | undefined ;
29+ private rl : ReadLine | undefined ;
3030 private opts : Omit < PromptOptions < TValue , Prompt < TValue > > , 'render' | 'input' | 'output' > ;
3131 private _render : ( context : Omit < Prompt < TValue > , 'prompt' > ) => string | undefined ;
3232 private _track = false ;
Original file line number Diff line number Diff line change @@ -23,11 +23,3 @@ export interface ClackEvents<TValue> {
2323 finalize : ( ) => void ;
2424 beforePrompt : ( ) => void ;
2525}
26-
27- /**
28- * Display a value
29- */
30- export interface ValueWithCursorPart {
31- text : string ;
32- type : 'value' | 'cursor_on_value' | 'suggestion' | 'cursor_on_suggestion' ;
33- }
You can’t perform that action at this time.
0 commit comments