Skip to content

Commit c289226

Browse files
docs: document typecript v7 and use tsc config caveat (#288)
1 parent bd8d0cd commit c289226

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/pages/docs/reference/configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,13 @@ Setting the `staticRouter` option to `true` will add a small router runtime in p
439439
440440
## Use TypeScript Compiler
441441
442+
> ⚠️ This feature is currently not supported with TypeScript >= 7.x. Please see [this issue](https://github.com/ProjectEvergreen/greenwood/issues/1702) for more information and to follow along with the work.
443+
442444
Depending on the TypeScript features / JavaScript syntax you're using, you may need more then just Greenwood's default capability of only type _stripping_. For these cases where you want to use the full TypeScript compiler for transpilation, you'll want to [setup TypeScript for Greenwood](/docs/resources/typescript/) and set the `useTsc` flag.
443445
444446
<!-- prettier-ignore-start -->
445447
446-
<app-ctc-block variant="snippet">
448+
<app-ctc-block variant="snippet" heading="greenwood.config.ts">
447449
448450
```js
449451
export default {

0 commit comments

Comments
 (0)