Files
memecoin-botV2/.pnpm-store/v10/files/32/8cabee09cf4d087ad54247c125e8b2f98d5db942ec086f8ef95961a95cfadef7a8099e7ae4dcb42e5453e76a56526e1d1aa441393f05fc1346a867c1f85fb5

18 lines
690 B
Plaintext

import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
/**
* Gets the location of the head of the given for statement variant for reporting.
*
* - `for (const foo in bar) expressionOrBlock`
* ^^^^^^^^^^^^^^^^^^^^^^
*
* - `for (const foo of bar) expressionOrBlock`
* ^^^^^^^^^^^^^^^^^^^^^^
*
* - `for await (const foo of bar) expressionOrBlock`
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*
* - `for (let i = 0; i < 10; i++) expressionOrBlock`
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*/
export declare function getForStatementHeadLoc(sourceCode: TSESLint.SourceCode, node: TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement): TSESTree.SourceLocation;