Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

typescript: TypeError: c.getName is not a function #250

@cfortuner

Description

@cfortuner

TypeError: c.getName is not a function

https://github.com/MozillaReality/ecsy/blob/7795dc02cef72b4b8af80275b06a8ff8e84547da/src/System.js#L61

Typescript is complaining that this function does not exist

https://github.com/MozillaReality/ecsy/blob/dev/src/Component.d.ts

But it does.
https://github.com/MozillaReality/ecsy/blob/7795dc02cef72b4b8af80275b06a8ff8e84547da/src/Component.js#L72

I'm not sure if this is my own typescript settings or if this type needs to be added, but the message is a bit vague.

Let me know and I can open a pr!

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