Spaces:
Running
Running
File size: 582 Bytes
26d82c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "codeFrameColumns", {
enumerable: true,
get: function() {
return codeFrameColumns;
}
});
const _swc = require("../../../build/swc");
function codeFrameColumns(file, location, options = {}) {
// Default to the terminal width
if (options.maxWidth === undefined) {
options.maxWidth = process.stdout.columns;
}
return (0, _swc.getBindingsSync)().codeFrameColumns(file, location, options);
}
//# sourceMappingURL=code-frame.js.map |