ts export 怎么导出多个文件的interface一行代码
使用逗号分隔符将多个interface名称列在一起,例如:
export interface Interface1 { // ... }
export interface Interface2 { // ... }
export interface Interface3 { // ... }
export { Interface1, Interface2, Interface3 };
原文地址: https://www.cveoy.top/t/topic/hwEH 著作权归作者所有。请勿转载和采集!