Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dd6e62fa9f66cce1f6feafc1d4931e764524f4c6
Choose a base ref
..
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8f1cafcefe156fb6a67e3b9e79a47d85ed1bf19c
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 βˆ’1 lib/internal/webidl.js
2 changes: 1 addition & 1 deletion lib/internal/webidl.js
Original file line number Diff line number Diff line change
@@ -293,7 +293,7 @@ function createInterfaceConverter(name, prototype) {
if (ObjectPrototypeIsPrototypeOf(prototype, V)) return V;
// 2. Throw a TypeError.
throw new ERR_INVALID_ARG_TYPE(
typeof opts.context === 'string' ? opts.context : '', name, V,
typeof opts.context === 'string' ? opts.context : 'value', name, V,
);
};
}