(
rows: I[],
options?: FormatterOptionsArgs<I, O>,
)
| 65 | }; |
| 66 | |
| 67 | export const writeToString = <I extends Row, O extends Row>( |
| 68 | rows: I[], |
| 69 | options?: FormatterOptionsArgs<I, O>, |
| 70 | ): Promise<string> => { |
| 71 | return writeToBuffer(rows, options).then((buffer): string => { |
| 72 | return buffer.toString(); |
| 73 | }); |
| 74 | }; |
| 75 | |
| 76 | export const writeToPath = <I extends Row, O extends Row>( |
| 77 | path: string, |
no test coverage detected