dsherret / dsherret/ts-morph

Add ImportCall and SuperCall

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
domain: navigation
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

I'm removing these temporarily, but they should be added back in the future.

This is how they're identified:

```ts
export function isSuperCall(n: Node): n is SuperCall {
return n.kind === SyntaxKind.CallExpression && (n).expression.kind === SyntaxKind.SuperKeyword;
}

export function isImportCall(n: Node): n is ImportCall {
return n.kind === SyntaxKind.CallExpression && (n).expression.kind === SyntaxKind.ImportKeyword;
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.