TypeScript null 类型导出 为 null 类型声明
This commit is contained in:
@@ -57,6 +57,9 @@ export class TypeScriptExporter extends TableExporter {
|
|||||||
}
|
}
|
||||||
type += ignore_root ? '' : this.indent_text('}', indent);
|
type += ignore_root ? '' : this.indent_text('}', indent);
|
||||||
} break;
|
} break;
|
||||||
|
case DataType.null:
|
||||||
|
type = "null";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
type = "any";
|
type = "any";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user