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:
Felix Rieseberg
2019-02-16 17:06:30 -08:00
committed by Samuel Attard
parent 0a84c61074
commit 6b3ff4f1f7
5 changed files with 27 additions and 22 deletions

View File

@@ -28,3 +28,8 @@ declare namespace NodeJS {
activateUvLoop(): void;
}
}
declare interface Window {
ELECTRON_DISABLE_SECURITY_WARNINGS?: boolean
ELECTRON_ENABLE_SECURITY_WARNINGS?: boolean
}