Skip to content

Commit

Permalink
ttt
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar Otasevic committed Sep 12, 2024
1 parent fbd9b11 commit dbaf5ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/ViewInspection/Inspection/AnyInspectable+Values.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
extension AnyInspectable {
static func sameType<E>(_ t: E.Type = E.self) -> AnyInspectable<SameTypeElement<E>> {
.some
}

static var closure: AnyInspectable<ClosureElement<() -> Void>> { .some }
static var closureWithVoidParam: AnyInspectable<ClosureElement<(()) -> Void>> { .some }
static var asyncClosure: AnyInspectable<ClosureElement<() async -> Void>> { .some }
Expand Down

0 comments on commit dbaf5ef

Please sign in to comment.