summaryrefslogtreecommitdiff
path: root/ext/webidl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webidl')
-rw-r--r--ext/webidl/00_webidl.js2
-rw-r--r--ext/webidl/internal.d.ts8
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js
index 9454dc392..e5726d1f8 100644
--- a/ext/webidl/00_webidl.js
+++ b/ext/webidl/00_webidl.js
@@ -121,7 +121,7 @@ function type(V) {
case "function":
// Falls through
default:
- // Per ES spec, typeof returns an implemention-defined value that is not any of the existing ones for
+ // Per ES spec, typeof returns an implementation-defined value that is not any of the existing ones for
// uncallable non-standard exotic objects. Yet Type() which the Web IDL spec depends on returns Object for
// such cases. So treat the default case as an object.
return "Object";
diff --git a/ext/webidl/internal.d.ts b/ext/webidl/internal.d.ts
index cc4422a27..3e133cc06 100644
--- a/ext/webidl/internal.d.ts
+++ b/ext/webidl/internal.d.ts
@@ -13,24 +13,24 @@ declare module "ext:deno_webidl/00_webidl.js" {
): any;
interface IntConverterOpts {
/**
- * Wether to throw if the number is outside of the acceptable values for
+ * Whether to throw if the number is outside of the acceptable values for
* this type.
*/
enforceRange?: boolean;
/**
- * Wether to clamp this number to the acceptable values for this type.
+ * Whether to clamp this number to the acceptable values for this type.
*/
clamp?: boolean;
}
interface StringConverterOpts {
/**
- * Wether to treat `null` value as an empty string.
+ * Whether to treat `null` value as an empty string.
*/
treatNullAsEmptyString?: boolean;
}
interface BufferConverterOpts {
/**
- * Wether to allow `SharedArrayBuffer` (not just `ArrayBuffer`).
+ * Whether to allow `SharedArrayBuffer` (not just `ArrayBuffer`).
*/
allowShared?: boolean;
}