Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#3657·jshint

await isn't understood properly

Author: ale5000-gitCreated Jan 21, 2025Updated Jan 21, 2025

Hi, it doesn't seems to understand await correctly, example:

            const response = await github.rest.repos.getReleaseByTag({
              owner: context.repo.owner,
              repo: context.repo.repo,
              tag: 'MY_TAG'
            }).catch(response => response);

What esversion must be specified to have it understand await?

@jugglinmike Is this project still active?

Source: jshint/jshint

View original on GitHubView discussion on GitHub