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

Triple-slash reference type directives can override the import mode used for their resolution #47732

Merged
merged 6 commits into from Feb 15, 2022

Commits on Feb 3, 2022

  1. Triple-slash reference type directives can override the import mode u…

    …sed for their resolution
    
    They now use the file's default mode by default, rather than always using commonjs. The new arguments to the
    reference directive look like:
    
    ```ts
    ///<reference types="pkg" resolution-mode="require" />
    ```
    
    or
    
    ```ts
    ///<reference types="pkg" resolution-mode="import" />
    ```
    weswigham committed Feb 3, 2022
    Copy the full SHA
    9ada046 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Copy the full SHA
    7997a62 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Add test for microsoft#47806

    weswigham committed Feb 9, 2022
    Copy the full SHA
    f615b78 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a8519fe View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Copy the full SHA
    ffe16a4 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Update tests/cases/conformance/node/nodeModulesTripleSlashReferenceMo…

    …deOverride3.ts
    
    Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
    weswigham and sandersn committed Feb 15, 2022
    Copy the full SHA
    f919c2a View commit details
    Browse the repository at this point in the history