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-definitions] Fix type generator to support import maps #16890

Merged
merged 3 commits into from
Sep 1, 2023

Commits on Sep 1, 2023

  1. Migrate the typescript options to a config file

    Some configurations settings like `paths` cannot be provided through CLI
    arguments but only in a configuration file. And when using a
    configuration file, only a few options (like `--outDir` can still be
    provided) through the CLI.
    stof committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    bbf11a5 View commit details
    Browse the repository at this point in the history
  2. Add support for the import map in the type generator

    The typescript compiler is now configured to know about the import map
    to be able to resolve those imports and find the associated types.
    As tsc outputs declaration files using the original module identifiers
    and not the resolved ones, tsc-alias is used to post-process the
    declaration files by resolving those paths.
    stof committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    d0f14b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46f2c58 View commit details
    Browse the repository at this point in the history