mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: remove bunch of usages of any (#27512)
This commit is contained in:
@@ -144,7 +144,7 @@ if (nodeIntegration) {
|
||||
// We do not want to add `uncaughtException` to our definitions
|
||||
// because we don't want anyone else (anywhere) to throw that kind
|
||||
// of error.
|
||||
global.process.emit('uncaughtException' as any, error as any);
|
||||
global.process.emit('uncaughtException', error as any);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user