Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type report #29

Open
meandmax opened this issue Jun 21, 2021 · 0 comments
Open

Type report #29

meandmax opened this issue Jun 21, 2021 · 0 comments

Comments

@meandmax
Copy link
Contributor

meandmax commented Jun 21, 2021

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.

  1. Do you think that is valuable for this project?
  2. 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
      }
    }
  },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant