roblox-ts
Version:
A TypeScript-to-Luau Compiler for Roblox
13 lines • 609 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCustomPreEmitDiagnostics = getCustomPreEmitDiagnostics;
const fileUsesCommentDirectives_1 = require("../preEmitDiagnostics/fileUsesCommentDirectives");
const PRE_EMIT_DIAGNOSTICS = [fileUsesCommentDirectives_1.fileUsesCommentDirectives];
function getCustomPreEmitDiagnostics(data, sourceFile) {
const diagnostics = new Array();
for (const check of PRE_EMIT_DIAGNOSTICS) {
diagnostics.push(...check(data, sourceFile));
}
return diagnostics;
}
//# sourceMappingURL=getCustomPreEmitDiagnostics.js.map