mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-09 19:44:56 +02:00
8 lines
466 B
JavaScript
8 lines
466 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const FormatterFactory_1 = require("./FormatterFactory");
|
|
function createFormatterConfiguration(options) {
|
|
return FormatterFactory_1.createFormatter(options ? (typeof options === 'object' ? options.type || 'codeframe' : options) : 'codeframe', options && typeof options === 'object' ? options.options || {} : {});
|
|
}
|
|
exports.createFormatterConfiguration = createFormatterConfiguration;
|