phpmyadmin/resources/js/designer/objects.ts
Maurício Meneghini Fauth 0d843e68fe
Replace var with let or const in TypeScript files
Most of the changes were done by PhpStorm.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2026-04-09 20:48:22 -03:00

24 lines
707 B
TypeScript

const DesignerObjects = {
PdfPage: function (dbName, pageDescr, tblCords) {
// no dot set the auto increment before put() in the database
// issue #12900
// eslint-disable-next-line no-unused-vars
var pgNr;
this.dbName = dbName;
this.pageDescr = pageDescr;
this.tblCords = tblCords;
},
TableCoordinate: function (dbName, tableName, pdfPgNr, x, y) {
// no dot set the auto increment before put() in the database
// issue #12900
// var id;
this.dbName = dbName;
this.tableName = tableName;
this.pdfPgNr = pdfPgNr;
this.x = x;
this.y = y;
},
};
export { DesignerObjects };