Looking at this Typescript code :
class A {
}
let a = new A();
let s: symbol = Symbol('sym');
a[s] = 2;
a[s] = 'f';
a[s] = new Date();
//no errors
We can see that same symboled property is referencing to a difference types .
Question:
Is it possible to use the symbol and yet , get TS type safety ?