Skip to content

Commit 3f7febf

Browse files
committed
Remove redundant union
1 parent 24bf907 commit 3f7febf

File tree

3 files changed

+3
-32
lines changed

3 files changed

+3
-32
lines changed

Sources/DOMKit/ECMAScript/Support.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ public extension HTMLElement {
1414
public let globalThis = Window(from: JSObject.global.jsValue())!
1515

1616
public typealias Uint8ClampedArray = JSUInt8ClampedArray
17+
public typealias CSSColorValue_or_CSSStyleValue = CSSStyleValue
18+
public typealias Any_CSSColorValue_or_CSSStyleValue = CSSStyleValue

Sources/DOMKit/WebIDL/CSSColorValue_or_CSSStyleValue.swift

Lines changed: 0 additions & 32 deletions
This file was deleted.

Sources/WebIDLToSwift/IDLBuilder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ enum IDLBuilder {
1414
static let ignoredNames: Set = [
1515
"BreakTokenOptions", "TrustedTypePolicyOptions", "FragmentResultOptions",
1616
"Client_or_MessagePort_or_ServiceWorker", "ExtendableMessageEventInit",
17+
"CSSColorValue_or_CSSStyleValue",
1718
]
1819

1920
static let outDir = "Sources/DOMKit/WebIDL/"

0 commit comments

Comments
 (0)