We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getComments
ESLint
SourceCode
1 parent 99bb19d commit 5240538Copy full SHA for 5240538
packages/experimental-utils/src/ts-eslint/SourceCode.ts
@@ -245,15 +245,6 @@ declare class SourceCodeBase extends TokenStore {
245
* @returns An array of comment nodes.
246
*/
247
getAllComments(): TSESTree.Comment[];
248
- /**
249
- * Gets all comments for the given node.
250
- * @param node The AST node to get the comments for.
251
- * @returns An object containing a leading and trailing array of comments indexed by their position.
252
- */
253
- getComments(node: TSESTree.Node): {
254
- leading: TSESTree.Comment[];
255
- trailing: TSESTree.Comment[];
256
- };
257
/**
258
* Converts a (line, column) pair into a range index.
259
* @param loc A line/column location
0 commit comments