Telefonica / webview-bridge

Novum JavaScript Bridge
MIT License
26 stars 7 forks source link

Make analytics input types readonly #43

Closed SergioMorchon closed 3 years ago

SergioMorchon commented 3 years ago

For input parameters that are objects, we can declare them as readonly so the callee can pass either variable or constant structures. Without this, only mutable strucrures can be passsed here because we don't sey "hey, we won't modify your input parameters" explicitly