Commit d2911c5
committed
fix: Add deprecated directive to enumsAsConst
Use the BaseTypesVisitor getNodeComment to build the comment string
(which uses transformComment under the hood) rather than just using the
transform. The getNodeComment method already has support for intepreting
and transforming deprecated directives correctly, as is seen in the
default output for enums.1 parent 62dd4c7 commit d2911c5
File tree
2 files changed
+6
-1
lines changed- .changeset
- packages/plugins/typescript/typescript/src
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
0 commit comments