Replies: 1 comment
-
Definitely possible and not overly difficult actually. I just put I noticed the type in Babylon.js they didn't extract and export a type, so it's really just a one-off: I put in a breakpoint on the codegen and the type is fully available - I just never bothered to write it out to the JSX IntrinsicElement typings: Feel free to make an issue and that's not a bad idea, but it will take me a few weeks to get to it. I'm really swamped with work lately unfortunately. I definitely would like the typings to be stronger to help out and improve DX. Thanks for the discussion! Maybe it can be promoted somehow to be an issue. |
Beta Was this translation helpful? Give feedback.
-
Is my assumption right, that observables are updated properly?
react-babylonjs/packages/react-babylonjs/src/UpdateInstance.ts
Line 54 in daa6605
When writing it as property, it is missing proper typing though. Would this be easy to solve?
Image shows typing when getting pointerDragBehaviour via create and the missing types when it is set as prop.
Beta Was this translation helpful? Give feedback.
All reactions