d6886d69ec
Before external classes could only represent JS object types and are type-checked with `instanceof`. @JsPrimitive allows external classes to represent primitive types with `typeof` checks.