Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
err2 =>
Err(
annotate(
blob,
[
'Either:',
itemize(summarize(err1).join('\n')),
itemize(summarize(err2).join('\n')),
].join('\n')
)
)
)
function serializeSimple(annotation: Annotation) {
return summarize(annotation).join('\n');
}
err2 =>
Err(
annotate(
blob,
[
'Either:',
itemize(summarize(err1).join('\n')),
itemize(summarize(err2).join('\n')),
].join('\n')
)
)
)