From 7979f0343f9062b4d333e3ec7fc7e399e307a44f Mon Sep 17 00:00:00 2001 From: Ryan Wilson-Perkin Date: Wed, 27 Sep 2023 09:46:55 -0400 Subject: [PATCH] Update docs to point to src/def subdirectory (#945) --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cfaf1b63..4ecd0a6c 100644 --- a/README.md +++ b/README.md @@ -495,18 +495,18 @@ b.file("lib/types.js", b.thisExpression()); ``` The `def` syntax is used to define all the default AST node types found in -[babel-core.ts](def/babel-core.ts), -[babel.ts](def/babel.ts), -[core.ts](def/core.ts), -[es-proposals.ts](def/es-proposals.ts), -[es6.ts](def/es6.ts), -[es7.ts](def/es7.ts), -[es2020.ts](def/es2020.ts), -[esprima.ts](def/esprima.ts), -[flow.ts](def/flow.ts), -[jsx.ts](def/jsx.ts), -[type-annotations.ts](def/type-annotations.ts), +[babel-core.ts](src/def/babel-core.ts), +[babel.ts](src/def/babel.ts), +[core.ts](src/def/core.ts), +[es-proposals.ts](src/def/es-proposals.ts), +[es6.ts](src/def/es6.ts), +[es7.ts](src/def/es7.ts), +[es2020.ts](src/def/es2020.ts), +[esprima.ts](src/def/esprima.ts), +[flow.ts](src/def/flow.ts), +[jsx.ts](src/def/jsx.ts), +[type-annotations.ts](src/def/type-annotations.ts), and -[typescript.ts](def/typescript.ts), +[typescript.ts](src/def/typescript.ts), so you have no shortage of examples to learn from.