You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
466 B
8 lines
466 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const FormatterFactory_1 = require("./FormatterFactory");
|
|
function createFormatterConfiguration(options) {
|
|
return FormatterFactory_1.createFormatter(options ? (typeof options === 'string' ? options : options.type || 'codeframe') : 'codeframe', options && typeof options === 'object' ? options.options || {} : {});
|
|
}
|
|
exports.createFormatterConfiguration = createFormatterConfiguration;
|