Recently, I experimented with Typescript and utilized the Set data structure in this manner:
var myset = new Set<string>();
I was pleasantly surprised that there was no need for additional libraries in Typescript, and the code worked smoothly. However, to my dismay, I discovered that this method only functions correctly in Internet Explorer, as Chrome seems unable to resolve the Set data type. Additionally, upon publishing, I did not observe any inclusion of lib.d.ts in the folder directory.
This situation is perplexing me. The term "set" is quite ambiguous, leading me into a research dead end where I cannot find any helpful results due to its multiple meanings.