chore(doc): fix ast types def link

This commit is contained in:
Xin Du (Clark) 2023-02-16 15:55:34 +00:00 committed by GitHub
parent 130d7ac092
commit e800995698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ const ast = recast.parse(code);
Now do _whatever_ you want to `ast`. Really, anything at all!
See [ast-types](https://github.com/benjamn/ast-types) (especially the [def/core.ts](https://github.com/benjamn/ast-types/blob/master/def/core.ts)) module for a thorough overview of the `ast` API.
See [ast-types](https://github.com/benjamn/ast-types) (especially the [def/core.ts](https://github.com/benjamn/ast-types/blob/master/src/def/core.ts)) module for a thorough overview of the `ast` API.
```js
// Grab a reference to the function declaration we just parsed.