Skip to content

Typescript 6 errors with TS1540 #3081

@nikolaik

Description

@nikolaik

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Victory version

36.9.2

Bug report

With typescript version 6 the type definitions errors with:

node_modules/victory-core/lib/victory-util/immutable-types.d.ts:120:15 - error TS1540: A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.

120 export module List {
                  ~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug 🐛Oh no! A bug or unintentional behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions