Skip to content

Commit

Permalink
Fix momentjs import, closes #1901, closes #1859
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Suter committed Sep 27, 2023
1 parent a961eb1 commit 8b767d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NSwag.CodeGeneration.TypeScript/Templates/File.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import * as jQuery from 'jquery';
{%- endif -%}
{%- if Framework.UseMomentJS -%}

import * as moment from 'moment';
import moment from 'moment';
{%- if RequiresMomentJSDuration -%}
import 'moment-duration-format';
{%- endif -%}
Expand Down

0 comments on commit 8b767d7

Please sign in to comment.