⬅️ Back to Table of Contents
📄 await-thenable.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
12 |
📊 Variables & Constants |
2 |
📑 Type Aliases |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/eslint-plugin/src/rules/await-thenable.ts
📦 Imports
Name |
Source |
TSESLint |
@typescript-eslint/utils |
TSESTree |
@typescript-eslint/utils |
Awaitable |
../util |
createRule |
../util |
getFixOrSuggest |
../util |
getParserServices |
../util |
isAwaitKeyword |
../util |
isTypeAnyType |
../util |
needsToBeAwaited |
../util |
nullThrows |
../util |
NullThrowsReasons |
../util |
getForStatementHeadLoc |
../util/getForStatementHeadLoc |
Variables & Constants
Name |
Type |
Kind |
Value |
Exported |
awaitArgumentEsNode |
any |
const |
node.argument |
✗ |
init |
any |
const |
declarator.init |
✗ |
Type Aliases
MessageId
type MessageId = | 'await'
| 'awaitUsingOfNonAsyncDisposable'
| 'convertToOrdinaryFor'
| 'forAwaitOfNonAsyncIterable'
| 'removeAwait';