For example, to have a Set
class that uses the global Set
class.
It seems like this works, but is this the right way to go..?
class Set<T> {
internalSet: globalThis.Set<T>
constructor(value: any[]) {
this.internalSet = new globalThis.Set(value)
}
}