You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/guide/usage/transformer/typescript.md
+77Lines changed: 77 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,83 @@ const result = transform("lib.ts", sourceCode, {
71
71
});
72
72
```
73
73
74
+
:::: warning Decorator Metadata: Types that requires type inference will fallback to `Object`
75
+
76
+
Due to the lack of full type inference feature, Oxc transformer will fallback to `Object` type if it cannot calculate the type of the decorator metadata.
77
+
78
+
For example, the following code will be transformed to the following code:
0 commit comments