Skip to content

TypeError: Cannot read properties of undefined (reading 'kind') #508

@xian

Description

@xian

🕗 Version

0.5.8-rc.4

💻 Code or Package Name

ace-builds

🙁 Actual behavior

  TypeError: Cannot read properties of undefined (reading 'kind')
      at Object.isModuleBlock (.../build/js/node_modules/typescript/lib/typescript.js:11765:21)
      at AstConverter.convertModuleBody (.../build/js/node_modules/dukat/lib/converter.js:1400:16)
      at AstConverter.convertModule (.../build/js/node_modules/dukat/lib/converter.js:1423:21)
      at AstConverter.<anonymous> (.../build/js/node_modules/dukat/lib/converter.js:1331:37)
      at step (.../build/js/node_modules/dukat/lib/converter.js:357:23)
      at Object.next (.../build/js/node_modules/dukat/lib/converter.js:338:53)
      at step (.../build/js/node_modules/dukat/lib/converter.js:342:139)
      at Object.next (.../build/js/node_modules/dukat/lib/converter.js:338:53)
      at Function.from (<anonymous>)
      at AstFactory.createModuleDeclaration (.../build/js/node_modules/dukat/lib/converter.js:1807:53)

🙂 Expected behavior

Should generate Kotlin stubs for the package.

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

        Participants

        @xian

        Issue actions

          TypeError: Cannot read properties of undefined (reading 'kind') · Issue #508 · Kotlin/dukat