mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
fiz(ext/fetch): Headers constructor error message (#11778)
This commit is contained in:
parent
d81128109f
commit
6f63d739ab
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@
|
|||
|
||||
/** @param {HeadersInit} [init] */
|
||||
constructor(init = undefined) {
|
||||
const prefix = "Failed to construct 'Event'";
|
||||
const prefix = "Failed to construct 'Headers'";
|
||||
if (init !== undefined) {
|
||||
init = webidl.converters["HeadersInit"](init, {
|
||||
prefix,
|
||||
|
|
Loading…
Reference in a new issue