UNPKG
@tevm/ts-plugin
Version:
latest (1.0.0-next.148)
next (1.0.0-next.18)
2.0.0-next.103
2.0.0-next.102
2.0.0-next.101
2.0.0-next.86
2.0.0-next.83
2.0.0-next.80
2.0.0-next.79
1.1.0-next.96
1.1.0-next.77
1.1.0-next.74
1.1.0-next.72
1.1.0-next.70
1.1.0-next.69
1.1.0-next.66
1.1.0-next.65
1.1.0-next.62
1.1.0-next.60
1.1.0-next.52
1.1.0-next.47
1.0.0-next.148
1.0.0-next.146
1.0.0-next.142
1.0.0-next.140
1.0.0-next.134
1.0.0-next.131
1.0.0-next.128
1.0.0-next.124
1.0.0-next.118
1.0.0-next.117
1.0.0-next.109
1.0.0-next.108
1.0.0-next.86
1.0.0-next.41
1.0.0-next.40
1.0.0-next.28
1.0.0-next.25
1.0.0-next.23
1.0.0-next.21
1.0.0-next.18
A typescript plugin for tevm
github.com/evmts/tevm-monorepo
evmts/tevm-monorepo
@tevm/ts-plugin
/
types
/
utils
/
findNode.d.ts
6 lines
(5 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
typescript
from
'typescript/lib/tsserverlibrary.js'
;
/** * Find the typescript node at the given position in the AST */
export
declare
function
findNode
(
rootNode
: typescript.
Node
,
position
:
number
): typescript.
Node
|
null
;