FileData 冲突问题
snoopy1412 opened this issue · 0 comments
snoopy1412 commented
用yapi-to-typescript生成ts文件时,文件本身会加上
// @ts-ignore type FileData = File;
但是如果生成了多个ts文件,可能会因为冲突而报错
Module './api/147' has already exported a member named 'FileData'. Consider explicitly re-exporting to resolve the ambiguity.
这种情况如何处理?