Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reuse stored types for any[] and Promise<any> instead of creating new ones#17179

Merged
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
anyArraymicrosoft/TypeScript:anyArrayCopy head branch name to clipboard
Jul 17, 2017
Merged

Reuse stored types for any[] and Promise<any> instead of creating new ones#17179
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
anyArraymicrosoft/TypeScript:anyArrayCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Jul 13, 2017

Copy link
Copy Markdown

No description provided.

@ghost ghost requested a review from sandersn July 13, 2017 21:34
@DanielRosenwasser

DanielRosenwasser commented Jul 14, 2017

Copy link
Copy Markdown
Member

Looks good to me, but the Promise<any> case doesn't seem to be covered.

@ghost

ghost commented Jul 14, 2017

Copy link
Copy Markdown
Author

createPromiseType has side effects, so we can't do that up-front.

@ghost ghost merged commit 5d46ca7 into master Jul 17, 2017
@ghost ghost deleted the anyArray branch July 17, 2017 19:57
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.