feat: window.close() (#4474)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2020-03-24 20:56:40 -07:00 committed by GitHub
parent 3938071e91
commit 5d7bcf86fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 65 additions and 1 deletions

View file

@ -13,6 +13,8 @@ declare interface Window extends WindowOrWorkerGlobalScope {
onload: Function | undefined;
onunload: Function | undefined;
crypto: Crypto;
close: () => void;
closed: boolean;
Deno: typeof Deno;
}