3 lines
93 B
JavaScript
3 lines
93 B
JavaScript
|
/** @type {(_: Error) => () => string} */
|
||
|
export const errorString = e => () => e.toString()
|