sisoe24 / Python-Easy-Print

Void operators found JS-0098
Anti-pattern
Minor
2 months ago7 months old
Expected 'undefined' and instead saw 'void'
70    for (const [action, command] of Object.entries(DOCUMENT_COMMANDS)) {
71        context.subscriptions.push(
72            vscode.commands.registerCommand(command, () => {
73                void doc.executeCommand(action);74            })
75        );
76    }
Expected 'undefined' and instead saw 'void'
79        vscode.commands.registerCommand(
80            "python-easy-print.easyPrintPy2",
81            () => {
82                void utils.initPrintPython2();83            }
84        )
85    );