back to enums

This commit is contained in:
Jesse Winton
2025-04-01 11:51:10 -04:00
parent 4394ec5208
commit 5ce0bb3996
8 changed files with 59 additions and 66 deletions

View File

@@ -22,10 +22,10 @@
}
});
const CopyStatus = {
Copy: 'Copy',
Copied: 'Copied!'
};
const enum CopyStatus {
Copy = 'Copy',
Copied = 'Copied!'
}
let copyText = CopyStatus.Copy;
async function handleCopy() {