File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -202,11 +202,11 @@ end
202202 str *= indent * " }\n "
203203 elseif get_typescript_type (f) == " Date"
204204 str *= indent * " if (_json['$field_name '] != null) {\n "
205- str *= indent * " " * " if (_json['refTime '] instanceof Date) {"
205+ str *= indent * " " * " if (_json['$field_name '] instanceof Date) {\n "
206206 str *= indent * " " * " " * " this.$field_name = _json['$field_name '];\n "
207- str *= indent * " " * " } else {"
207+ str *= indent * " " * " } else {\n "
208208 str *= indent * " " * " " * " this.$field_name = new Date(_json['$field_name ']);\n "
209- str *= indent * " " * " }"
209+ str *= indent * " " * " }\n "
210210 str *= indent * " }\n "
211211 else
212212 str *= indent * " this.$field_name = _json['$field_name '];\n "
You can’t perform that action at this time.
0 commit comments