mirror of
https://github.com/electron/electron.git
synced 2026-01-09 23:48:01 -05:00
refactor: Port security warnings to TypeScript (#16937)
* refactor: Port security-warnings to TypeScript * chore: make aliasify work on .ts files as well * refactor: Implement feedback <3 * refactor: Correctly call executeJavaScript
This commit is contained in:
committed by
Samuel Attard
parent
0a84c61074
commit
6b3ff4f1f7
5
typings/internal-ambient.d.ts
vendored
5
typings/internal-ambient.d.ts
vendored
@@ -28,3 +28,8 @@ declare namespace NodeJS {
|
||||
activateUvLoop(): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare interface Window {
|
||||
ELECTRON_DISABLE_SECURITY_WARNINGS?: boolean
|
||||
ELECTRON_ENABLE_SECURITY_WARNINGS?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user