purescript-puppeteer/test/Test.Main.js

3 lines
93 B
JavaScript

/** @type {(_: Error) => () => string} */
export const errorString = e => () => e.toString()