[typescript-axios]: align jsdoc for @deprecated (#21778)

* refactor: simplify `description` OR `deprecated` template

* chore: update generator output

---------

Co-authored-by: nocontribute <>
This commit is contained in:
scarf 2025-08-21 15:50:22 +09:00 committed by GitHub
parent caf53ac6c4
commit 96b44ce727
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 128 additions and 134 deletions

View File

@ -20,10 +20,7 @@ export interface {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{
{{^description}}
{{#deprecated}}
/**
*
{{#deprecated}}
* @deprecated
{{/deprecated}}
*/
{{/deprecated}}
{{/description}}

View File

@ -372,17 +372,14 @@ export interface NumberOnly {
export interface ObjectWithDeprecatedFields {
'uuid'?: string;
/**
*
* @deprecated
*/
'id'?: number;
/**
*
* @deprecated
*/
'deprecatedRef'?: DeprecatedObject;
/**
*
* @deprecated
*/
'bars'?: Array<string>;