You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2021. It is now read-only.
test/rules/await-promise/for-await-of/test.ts.lint: Failed!
Expected (from .lint file)
Actual (from TSLint)
async function correct(foo: AsyncIterableIterator<string>) {
for await (const element of foo) {}
}
async function correct2() {
for await (const element of asyncGenerator()) {}
- ~~~~~~~~~~~~~~~~ [Invalid 'for-await-of' of a non-AsyncIterable value.]
}
Example build failure: https://circleci.com/gh/palantir/tslint/16351?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link