Skip to content

get error with typescript 5 #19

Description

@agrozyme

When I use typescript 5, I get the error in compiler mjs (cjs is ok):
Error: Debug Failure. Unhandled SyntaxKind: ImportClause.

This setting is ok when I use typescript 4
(only get wran: DeprecationWarning: 'createImportDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.)

tsc-multi.json

{
  "targets": [
    { "extname": ".mjs", "module": "ESNext", "moduleResolution": "NodeNext" },
    { "extname": ".js", "module": "CommonJS", "moduleResolution": "Node" }
  ],
  "projects": ["."]
}

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions