Skip to content

.d.ts file has errors  #181

@TheColorRed

Description

@TheColorRed

I installed typescript from Project -> Tools -> JavaScript -> Generate TypeScript Project menu. When doing a test I get errors in the godot.d.ts file:

image

I then also get errors in my test.mts file:

image

However, everything works when the script is compiled to an .mjs file.

Here is a list of all the errors:
errors.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions