Skip to content

Commit 486b537

Browse files
committed
Fix type issues
Seems like the tooling got confused there
1 parent 1fef7ec commit 486b537

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

src/utils/ObservableSet.ts

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -110,46 +110,4 @@ export class ObservableSet<T> extends EventDispatcher<BaseEventMap> implements S
110110

111111
}
112112

113-
union<U>(other: ReadonlySetLike<U>): Set<T | U> {
114-
115-
return new ObservableSet<T | U>(this.data.union(other));
116-
117-
}
118-
119-
intersection<U>(other: ReadonlySetLike<U>): Set<T & U> {
120-
121-
return new ObservableSet<T & U>(this.data.intersection(other));
122-
123-
}
124-
125-
difference<U>(other: ReadonlySetLike<U>): Set<T> {
126-
127-
return new ObservableSet<T>(this.data.difference(other));
128-
129-
}
130-
131-
symmetricDifference<U>(other: ReadonlySetLike<U>): Set<T | U> {
132-
133-
return new ObservableSet<T | U>(this.data.symmetricDifference(other));
134-
135-
}
136-
137-
isSubsetOf(other: ReadonlySetLike<unknown>): boolean {
138-
139-
return this.data.isSubsetOf(other);
140-
141-
}
142-
143-
isSupersetOf(other: ReadonlySetLike<unknown>): boolean {
144-
145-
return this.data.isSupersetOf(other);
146-
147-
}
148-
149-
isDisjointFrom(other: ReadonlySetLike<unknown>): boolean {
150-
151-
return this.data.isDisjointFrom(other);
152-
153-
}
154-
155113
}

0 commit comments

Comments
 (0)