Skip to content

Properly make inferences from partial source type #42038

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

Merged
merged 3 commits into from
Dec 19, 2020
Merged

Properly make inferences from partial source type #42038

merged 3 commits into from
Dec 19, 2020

Conversation

ahejlsberg
Copy link
Member

Fixes #42030.

@DanielRosenwasser
Copy link
Member

@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 19, 2020

Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 718b3d4. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 19, 2020

Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/91721/artifacts?artifactName=tgz&fileId=BD1C7A363E8AF45FEAC933A438A56E34CD6888008072D2D0722D05E669AA795E02&fileName=/typescript-4.2.0-insiders.20201219.tgz"
    }
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/[email protected]".;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong type inferring invoking generic function with parameter destructing
3 participants