This is the complete specification for the TypeScript-ESTree AST.
It includes:
- Node definitions as TypeScript types (the specification)
- Logic for converting from the TypeScript AST to the TypeScript-ESTree AST.
- Tests/Fixtures/Examples for each Node
You probably don't want to use it directly.
If you're building an ESLint plugin, consider using @typescript-eslint/utils
and @typescript-eslint/type-utils
.
If you're parsing TypeScript code, consider using @typescript-eslint/typescript-estree
.