first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.default = addParamsToDefineCall;
function addParamsToDefineCall(code, ...paramsToAdd) {
const index = code.lastIndexOf(")");
const params = paramsToAdd.map((param) =>
param !== undefined ? JSON.stringify(param) : "undefined",
);
return code.slice(0, index) + "," + params.join(",") + code.slice(index);
}