[Vuejs]-Object losing it's type after passing to function in preloaded script

0👍

Okay, I should have read the documentation more carefully.

ContextBridge copies the values, so it can only handle some types. To use complex types, like Tensor3D it is recomended to serialize and deserialize the values respectively.

Everything is said here: Electron contextBridge documentation

Leave a comment