3 ms·
Typescript does not support nominal typing except for enums. It can be emulated by giving types an unique property, but this is kind of a hack.
by goto11 4y ago
Typescript does not support nominal typing except for enums.
It can be emulated by giving types an unique property, but this is kind of a hack.