diff --git a/src/core/Object3D.ts b/src/core/Object3D.ts index a995001..3a10ba0 100644 --- a/src/core/Object3D.ts +++ b/src/core/Object3D.ts @@ -2,7 +2,7 @@ import { Object3D } from 'three' import { ComponentPublicInstance, defineComponent, watch } from 'vue' import { bindProp } from '../tools' -interface Object3DInterface { +interface Object3DSetupInterface { o3d?: Object3D parent?: ComponentPublicInstance } @@ -19,7 +19,7 @@ export default defineComponent({ autoRemove: { type: Boolean, default: true }, userData: { type: Object, default: () => ({}) }, }, - setup(): Object3DInterface { + setup(): Object3DSetupInterface { return {} }, unmounted() {