Skip to content

Add count: number to all THREE.Object3d seems incorrect, and is suddenly public in v183 #2066

@nkallen

Description

@nkallen

I have subclasses of Object3d that use "count". I'm suddenly getting typing errors (after upgrading from 180 to 183) because of this behavior. Count as a field is used only on InstancedMeshes, it's not a general property of Object3d - I feel like this change is confusing

Apparently this type has been there for a while but only with 0.183.x did Backend.d.ts get slurped in in my project.

LightShadow.d.ts → nodes/core/Node.js → ... → ContextNode → NodeBuilder → common/Renderer →
Backend.d.ts (with declare module augmentation for count)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions