Skip to content

vrm: Wrong type for parameter in generated TS definition file causes TS error #44

Description

@Srile

When trying to run tsc on my project after converting it to TypeScript, I noticed an error coming from the latest version (1.0.5) of this package.

node_modules/@wonderlandengine/components/dist/vrm.d.ts(130,32): error TS2304: Cannot find name 'GLTFExtensions'.

This is likely caused by the comment above the function declaration of the _initializeVrm function having @param {GLTFExtensions} in there, which sets the type of the parameter of the function to GLTFExtensions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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