Skip to content

Commit

Permalink
[typescript-axios] Allow enum attribute to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda authored and Gintautas Miselis committed Dec 6, 2023
1 parent 2c9fbf8 commit dfb6fa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{
* @deprecated
{{/deprecated}}
*/
'{{baseName}}'{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}};
'{{baseName}}'{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{#isNullable}} | null{{/isNullable}};
{{/vars}}
}{{#hasEnums}}

Expand Down

0 comments on commit dfb6fa5

Please sign in to comment.