fix(web): implement DOMException#code (#9015)

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
This commit is contained in:
Yacine Hmito 2021-01-09 07:27:46 +01:00 committed by GitHub
parent f3ead9c6a7
commit 9637209765
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 18 deletions

View file

@ -9,6 +9,7 @@ declare class DOMException extends Error {
constructor(message?: string, name?: string);
readonly name: string;
readonly message: string;
readonly code: number;
}
interface EventInit {