In Three.js there is a field on Object3D class called userData, which in the type declaration file node_modules/three/src/core/Object3D.d.ts is defined
Object3D
node_modules/three/src/core/Object3D.d.ts