Skip to content

Commit

Permalink
Fix a typo in introduction.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen authored Dec 11, 2024
1 parent abbee54 commit e6dddcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/typescript/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Add you custom `@adminUI` alias to your `tsconfig.json` file:

You might have noticed the `"../.redwood/types/mirror/web/src/components/modules/admin/common/ui/*"` path. I'm glad you did!

When you build your project redwood will create a set of directories or a virtual directory called`.redwood`, [read more about this typescript feature here](https://www.typescriptlang.org/docs/handbook/module-resolution.html#virtual-directories-with-rootdirs). This directory contains types for te Cells, so there is no need for us to specify an index file.
When you build your project redwood will create a set of directories or a virtual directory called`.redwood`, [read more about this typescript feature here](https://www.typescriptlang.org/docs/handbook/module-resolution.html#virtual-directories-with-rootdirs). This directory contains types for the Cells, so there is no need for us to specify an index file.

When you combine those two paths `.src/...` and `./.redwood/...` under an alias you can have shorter and cleaner import paths:

Expand Down

0 comments on commit e6dddcc

Please sign in to comment.