Skip to content

Commit 526217a

Browse files
authored
docs: add emitDecoratorMetadata description (#21198)
1 parent cba1f62 commit 526217a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

guide/features.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ If `target` in `tsconfig.json` is not `ESNext` or `ES2022` or newer, or if there
9898
As such, it is recommended to set `target` to `ESNext` or `ES2022` or newer, or set `useDefineForClassFields` to `true` explicitly when configuring `tsconfig.json`.
9999
:::
100100

101+
#### `emitDecoratorMetadata`
102+
103+
- [TypeScript documentation](https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata)
104+
105+
This option is only partially supported. Full support requires type inference by the TypeScript compiler, which is not supported. See [Oxc Transformer's documentation](https://oxc.rs/docs/guide/usage/transformer/typescript#decorators) for details.
106+
101107
#### `paths`
102108

103109
- [TypeScript documentation](https://www.typescriptlang.org/tsconfig/#paths)

0 commit comments

Comments
 (0)