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.
1 parent 1b93265 commit b25d855Copy full SHA for b25d855
src/compiler/utilities.ts
@@ -640,19 +640,6 @@ namespace ts {
640
}
641
642
643
-
644
- export function getContainingParameter(node: Node): ParameterDeclaration {
645
- while (true) {
646
- node = node.parent;
647
- if (!node || isFunctionLike(node)) {
648
- return undefined;
649
- }
650
651
- if (node.kind === SyntaxKind.Parameter) {
652
- return <ParameterDeclaration>node;
653
654
655
656
657
export function getThisContainer(node: Node, includeArrowFunctions: boolean): Node {
658
while (true) {
0 commit comments