Skip to content

error after install and compile #1

Description

@Chrusciki

Thanks for creating this, however when i install the NPM module and then attempt to run tsc 5.0.4 over the provided code i get the following error.


test_willow.ts:17:1 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.

17 await client.init();
   ~~~~~


Found 1 error in test_willow.ts:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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