mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
fix(web): implement DOMException#code (#9015)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
This commit is contained in:
parent
f3ead9c6a7
commit
9637209765
4 changed files with 56 additions and 18 deletions
1
op_crates/web/lib.deno_web.d.ts
vendored
1
op_crates/web/lib.deno_web.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue