New "strictUnions" option will render unions more strictly. As a TypeScript union of interfaces each with one required filed. This option removes the convenience class available to structs and exceptions, but allows for more accurate compile-time checks of the Thrift contract.
New "strictUnions" option will render unions more strictly. As a TypeScript union of interfaces each with one required filed. This option removes the convenience class available to structs and exceptions, but allows for more accurate compile-time checks of the Thrift contract.