We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would open up navigation without resorting to ts.IndexSignature <=> ts-simple-ast casting.
example with casting:
function foo (node : sast.Node) { const indexSignatureDeclaration = <ts.IndexSignatureDeclaration> node.compilerNode; const isitreally = ts.isIndexSignatureDeclaration(indexSignatureDeclaration); const isitreallyreally = ts.isIndexSignatureDeclaration(node.compilerNode); console.log((<any>ts).SyntaxKind[indexSignatureDeclaration.kind]); for (let i = 0, n = indexSignatureDeclaration.parameters.length; i < n; i++) { const param = indexSignatureDeclaration.parameters[i]; console.log((<any>ts).SyntaxKind[param.kind]); } console.log((<any>ts).SyntaxKind[indexSignatureDeclaration.type.kind]); }
The text was updated successfully, but these errors were encountered:
feat: #242 - Wrap IndexSignatureDeclaration.
3dab39f
I was surprised I never implemented this previously. Implemented now in 6.11.1.
Sorry, something went wrong.
Works like a charm. Thanks.
40ed714
No branches or pull requests
Would open up navigation without resorting to ts.IndexSignature <=> ts-simple-ast casting.
example with casting:
The text was updated successfully, but these errors were encountered: