It would be great if we could use AnyWgslData and AnyData internally, but we often operate on generic data, which causes the TypeScript server to crash with Infinite instantiations. For this reason, I think it's best to double down on using BaseData internally and in our type bounds, and use AnyWgslData and AnyData in public API constraints.
It would be great if we could use
AnyWgslDataandAnyDatainternally, but we often operate on generic data, which causes the TypeScript server to crash with Infinite instantiations. For this reason, I think it's best to double down on usingBaseDatainternally and in our type bounds, and useAnyWgslDataandAnyDatain public API constraints.