diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index cdb4435ec..f16707336 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -342,21 +342,6 @@ } } }, - "callbackInterfaces": { - "interface": {} - }, - "enums": { - "enum": { - "ImageOrientation": { - "value": [ - // The spec removed this but it's still in browsers and WebKit doesn't support the new one. - // Keep it until it's safer to fully migrate. - // See https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1507#issuecomment-1454792451 - "none" - ] - } - } - }, "interfaces": { "interface": { "CryptoKey": { diff --git a/inputfiles/patches/html.kdl b/inputfiles/patches/html.kdl new file mode 100644 index 000000000..54aadcc8b --- /dev/null +++ b/inputfiles/patches/html.kdl @@ -0,0 +1,6 @@ +enum ImageOrientation { + // The spec removed this but it's still in browsers and WebKit doesn't support the new one. + // Keep it until it's safer to fully migrate. + // See https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1507#issuecomment-1454792451 + none +}