Hookyns / tst-reflect

Advanced TypeScript runtime reflection system
MIT License
338 stars 11 forks source link

[BUG] Set not comparable #73

Closed avin-kavish closed 1 year ago

avin-kavish commented 2 years ago
console.log(
  getType<{ x: Set<number> }>()
    .getProperties()
    .find(p => p.name === 'x')!.type.fullName, // prints Set
  getType<Set<any>>().fullName,  // prints SetConstructor
)
Hookyns commented 2 years ago

Fixed in v1. Not in the current version.