flowts
flowts copied to clipboard
Type report
We have the need to generate a type report that we can see to what the types of a package are converted. Basically generating a report.json that shows all types and what they will be migrated to.
- Do you think that is valuable for this project?
- Do you have suggestions where and how to implement it.
Im happy to implement it, but would appreciate some guidance as you have a much better overall idea about the architecture of flowts.
{
"lines": 500,
"files": 20,
"types": {
"abstract": {
"count": 23,
"SomeAbstractType": {
"targetType": "SomeAbstractType",
"count": 23,
"importedFrom": "@scope/abstract-type-package"
}
},
"composed": {
"count": 3,
"Omit<AbstractType, { children: any }>": {
"targetType": "Omit<AbstractType, { children: any }>",
"count": 3
}
}
},
}