| 1 2 3 4 5 6 7 8 9 | import { Reporter, ReportMessage } from "./Reporter";
export const stringify = (comment: ReportMessage): string =>
JSON.stringify(comment);
export const json: Reporter = async comments => {
comments.map(stringify).forEach(msg => console.log(msg));
};
|