Skip to content

Commit 8b767d7

Browse files
author
Rico Suter
committed
Fix momentjs import, closes #1901, closes #1859
1 parent a961eb1 commit 8b767d7

File tree

1 file changed

+1
-1
lines changed
  • src/NSwag.CodeGeneration.TypeScript/Templates

1 file changed

+1
-1
lines changed

src/NSwag.CodeGeneration.TypeScript/Templates/File.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ import * as jQuery from 'jquery';
6060
{%- endif -%}
6161
{%- if Framework.UseMomentJS -%}
6262

63-
import * as moment from 'moment';
63+
import moment from 'moment';
6464
{%- if RequiresMomentJSDuration -%}
6565
import 'moment-duration-format';
6666
{%- endif -%}

0 commit comments

Comments
 (0)