ts-simple-ast
Version:
TypeScript compiler wrapper for static analysis and code manipulation.
25 lines (24 loc) • 934 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var SettingsContainer_1 = require("./SettingsContainer");
/**
* Holds the compiler options.
*/
var CompilerOptionsContainer = /** @class */ (function (_super) {
tslib_1.__extends(CompilerOptionsContainer, _super);
function CompilerOptionsContainer() {
return _super.call(this, {}) || this;
}
/**
* Sets one or all of the compiler options.
*
* WARNING: Setting the compiler options will cause a complete reparse of all the source files.
* @param settings - Compiler options to set.
*/
CompilerOptionsContainer.prototype.set = function (settings) {
_super.prototype.set.call(this, settings);
};
return CompilerOptionsContainer;
}(SettingsContainer_1.SettingsContainer));
exports.CompilerOptionsContainer = CompilerOptionsContainer;