( options: TextOptions )
| 974 | * @category constructors |
| 975 | * @since 4.0.0 |
| 976 | */ |
| 977 | export const File = (options: FileOptions = {}): Prompt<string> => { |
| 978 | const opts: FileOptionsReq = { |
| 979 | ...options, |
| 980 | type: options.type ?? "file", |
| 981 | message: options.message ?? `Choose a file`, |
nothing calls this directly
no test coverage detected
searching dependent graphs…