The SDK is written in typescript but we only import the javascript and completely ignore the types for this. Alternative for me was to use API's!