Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Combining collected types from multiple runs #87

@zxti

Description

@zxti

Is there an easy way to combine the collected types from typewiz-webpack and multiple typewiz-node runs?

I think there are two specific questions here:

  • When I go from page to page, typewiz-webpack regenerates a new collected-types.json (it's cleared on page load). Can I combine multiple?

  • typewiz-node immediately applies types to the codebase on termination. Is there any way to instead get a collected-types.json, in the same fashion as typewiz-webpack?

Even if you had a simple snippet or some such for combining these, that would be fantastic. I tried simply concatenating the .json files, and that did not go over well. :) Thanks!

(My use case: I'm interested in types from many typewiz-webpack outputs over frontend code, typewiz-node outputs over server code, and typewiz-node outputs over jest executions.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions