This repository has been archived on 2023-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
cad/format.js
2022-10-15 19:16:08 +02:00

20 lines
666 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
export const render = (result: any, options: Options) => {
switch (options.format) {
case OutputFormat.text: {
//@TODO: human readable format
return JSON.stringify(result, null, 2);
}
case OutputFormat.json: {
return JSON.stringify(result, null, 2);
}
default: {
//private, should never happen since options had to be sanitized
error('format::render Invalid value in options.format');
return '';
}
}
}*/
//# sourceMappingURL=format.js.map