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