1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

PM-22143 Refactor TS enums to be const objects (Send specific enums) (#16399)

This commit is contained in:
John Harrington
2025-11-26 15:08:59 -07:00
committed by GitHub
parent 8522b6b87a
commit 6f5491f7dc
9 changed files with 126 additions and 48 deletions

View File

@@ -308,7 +308,7 @@ export class SendProgram extends BaseProgram {
let sendFile = null;
let sendText = null;
let name = Utils.newGuid();
let type = SendType.Text;
let type: SendType = SendType.Text;
if (options.file != null) {
data = path.resolve(data);
if (!fs.existsSync(data)) {