Skip to content

Commit

Permalink
feat(experimental-utils): remove getComments from ESLint `SourceC…
Browse files Browse the repository at this point in the history
…ode` types (#3766)
  • Loading branch information
Josh Goldberg committed Aug 22, 2021
1 parent 99bb19d commit 5240538
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/experimental-utils/src/ts-eslint/SourceCode.ts
Expand Up @@ -245,15 +245,6 @@ declare class SourceCodeBase extends TokenStore {
* @returns An array of comment nodes.
*/
getAllComments(): TSESTree.Comment[];
/**
* Gets all comments for the given node.
* @param node The AST node to get the comments for.
* @returns An object containing a leading and trailing array of comments indexed by their position.
*/
getComments(node: TSESTree.Node): {
leading: TSESTree.Comment[];
trailing: TSESTree.Comment[];
};
/**
* Converts a (line, column) pair into a range index.
* @param loc A line/column location
Expand Down

0 comments on commit 5240538

Please sign in to comment.